Lucene - Core
  1. Lucene - Core
  2. LUCENE-3505

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0-BETA, 3.6.2, Trunk
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      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.

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

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              Robert Muir
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development