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

remove IndexSearcher.docFreq/maxDoc

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0-ALPHA
    • None
    • None
    • New, Patch Available

    Description

      As pointed out by Mark on SOLR-1632, these are no longer used by the scoring system.

      We've added new stats to Lucene, so having these methods on indexsearcher makes no sense.
      Its confusing to people upgrading if they subclassed IndexSearcher to provide distributed stats,
      only to find these are not used (LUCENE-3555 has a correct API for them to do this).

      So I think we should remove these in 4.0.

      Attachments

        1. LUCENE-3559.patch
          16 kB
          Robert Muir

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: