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 Improvement
    • Status: Closed
    • Priority: Major 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.

      1. LUCENE-2114.patch
        5 kB
        Simon Willnauer

        Activity

        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12563408 ] jira [ 12584554 ]
        Mark Thomas made changes -
        Workflow jira [ 12483851 ] Default workflow, editable Closed status [ 12563408 ]
        Uwe Schindler made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Michael McCandless made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Fix Version/s 2.9.2 [ 12314342 ]
        Fix Version/s 3.0.1 [ 12314401 ]
        Resolution Fixed [ 1 ]
        Michael McCandless made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Michael McCandless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Simon Willnauer made changes -
        Field Original Value New Value
        Attachment LUCENE-2114.patch [ 12426946 ]
        Simon Willnauer created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development