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

Improve org.apache.lucene.search.Filter Documentation and Tests to reflect per segment readers

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.9, 2.9.1, 3.0
    • 2.9.2, 3.0.1, 4.0-ALPHA
    • core/search
    • None
    • New, Patch Available

    Description

      Filter Javadoc does not mention that the Reader passed to getDocIDSet(Reader) could be on a per-segment basis.
      This caused confusion on the users-list – see http://lucene.markmail.org/message/6knz2mkqbpxjz5po?q=date:200912+list:org.apache.lucene.java-user&page=1
      We should improve the javadoc and also add a testcase that reflects filtering on a per-segment basis.

      Attachments

        1. LUCENE-2114.patch
          5 kB
          Simon Willnauer

        Activity

          People

            Unassigned Unassigned
            simonw Simon Willnauer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: