Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-5222

TestExpressionSorts fails sometimes when using expression returning score

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.6, 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Jenkins picked this up. Repeat with:

      ant test  -Dtestcase=TestExpressionSorts -Dtests.method=testQueries -Dtests.seed=115AD00ED89D9F7B -Dtests.multiplier=3 -Dtests.slow=true -Dtests.locale=no_NO -Dtests.timezone=America/Nassau -Dtests.file.encoding=US-ASCII
      

      It appears to have to do with scoring, as removing the score sort from the original sorts causes the tests to pass. If you remove the possible discrepancy between doDocScores and docMaxScore params to searcher.search, then the test gets farther before failing.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rjernst Ryan Ernst
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: