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

TestExpressionSorts fails sometimes when using expression returning score

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.6, 6.0
    • None
    • None
    • 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

        1. LUCENE-5222.patch
          2 kB
          Robert Muir

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: