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

BooleanScorer2.freq() doesnt work unless you call score() first.

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0-BETA, 3.6.2, 6.0
    • None
    • None
    • New

    Description

      its 0, the freq() is then calculated as a side effect of score()... we should at least document this or throw UOE for freq() instead.

      Attachments

        1. LUCENE-3505.patch
          24 kB
          Robert Muir
        2. LUCENE-3505.patch
          25 kB
          Robert Muir
        3. LUCENE-3505.patch
          49 kB
          Robert Muir
        4. LUCENE-3505.patch
          40 kB
          Michael McCandless
        5. LUCENE-3505.patch
          51 kB
          Michael McCandless
        6. LUCENE-3505.patch
          69 kB
          Robert Muir
        7. LUCENE-3505.patch
          74 kB
          Robert Muir
        8. LUCENE-3505.patch
          74 kB
          Robert Muir
        9. LUCENE-3505_3x.patch
          30 kB
          Robert Muir

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rcmuir Robert Muir
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: