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

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.9, 2.9.1, 3.0
    • Fix Version/s: 2.9.2, 3.0.1, 4.0-ALPHA
    • Component/s: core/search
    • Labels:
      None
    • Lucene Fields:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: