Lucene - Core
  1. Lucene - Core
  2. LUCENE-6343

Missing character in DefaultSimilarity's javadoc

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1, 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New, Patch Available

      Description

      The part which describes precision loss of norm values is missing a character; the encoded input value 0.89 in the example will actually be decoded to 0.875, not 0.75.

      1. LUCENE-6343.patch
        0.9 kB
        András Péteri

        Activity

        Hide
        Michael McCandless added a comment - - edited

        Thanks András Péteri you are correct, I'll add a test and commit.

        Show
        Michael McCandless added a comment - - edited Thanks András Péteri you are correct, I'll add a test and commit.
        Hide
        Michael McCandless added a comment -

        Thanks András!

        Show
        Michael McCandless added a comment - Thanks András!
        Hide
        ASF subversion and git services added a comment -

        Commit 1664687 from Michael McCandless in branch 'dev/trunk'
        [ https://svn.apache.org/r1664687 ]

        LUCENE-6343: DefaultSimilarity javadocs has the wrong example for encode/decode precision loss

        Show
        ASF subversion and git services added a comment - Commit 1664687 from Michael McCandless in branch 'dev/trunk' [ https://svn.apache.org/r1664687 ] LUCENE-6343 : DefaultSimilarity javadocs has the wrong example for encode/decode precision loss
        Hide
        ASF subversion and git services added a comment -

        Commit 1664688 from Michael McCandless in branch 'dev/branches/branch_5x'
        [ https://svn.apache.org/r1664688 ]

        LUCENE-6343: DefaultSimilarity javadocs has the wrong example for encode/decode precision loss

        Show
        ASF subversion and git services added a comment - Commit 1664688 from Michael McCandless in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1664688 ] LUCENE-6343 : DefaultSimilarity javadocs has the wrong example for encode/decode precision loss
        Hide
        hrdxwandg added a comment -

        Great!

        Show
        hrdxwandg added a comment - Great!
        Hide
        Timothy Potter added a comment -

        Bulk close after 5.1 release

        Show
        Timothy Potter added a comment - Bulk close after 5.1 release

          People

          • Assignee:
            Michael McCandless
            Reporter:
            András Péteri
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development