Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.5, 5.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      I think it makes sense add a term filter:

      • There is a TermsFilter, but no TermFilter.
      • I think it is bit a more efficient then wrapping a TermQuery in an QueryWrapperFilter.
      • Allows the usage of DocsEnum.FLAG_NONE.
      1. LUCENE-5088.patch
        11 kB
        Martijn van Groningen
      2. LUCENE-5088.patch
        3 kB
        Martijn van Groningen

        Activity

        Hide
        Martijn van Groningen added a comment -

        TermFilter (no tests yet)

        Show
        Martijn van Groningen added a comment - TermFilter (no tests yet)
        Hide
        Martijn van Groningen added a comment -

        Added a test. I will commit this soon.

        Show
        Martijn van Groningen added a comment - Added a test. I will commit this soon.
        Hide
        ASF subversion and git services added a comment -

        Commit 1503823 from Martijn van Groningen in branch 'dev/trunk'
        [ https://svn.apache.org/r1503823 ]

        LUCENE-5088: Added TermFilter to filter docs by a specific term.

        Show
        ASF subversion and git services added a comment - Commit 1503823 from Martijn van Groningen in branch 'dev/trunk' [ https://svn.apache.org/r1503823 ] LUCENE-5088 : Added TermFilter to filter docs by a specific term.
        Hide
        ASF subversion and git services added a comment -

        Commit 1503837 from Martijn van Groningen in branch 'dev/trunk'
        [ https://svn.apache.org/r1503837 ]

        LUCENE-5088: Fixed test

        Show
        ASF subversion and git services added a comment - Commit 1503837 from Martijn van Groningen in branch 'dev/trunk' [ https://svn.apache.org/r1503837 ] LUCENE-5088 : Fixed test
        Hide
        Adrien Grand added a comment -

        4.5 release -> bulk close

        Show
        Adrien Grand added a comment - 4.5 release -> bulk close

          People

          • Assignee:
            Martijn van Groningen
            Reporter:
            Martijn van Groningen
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development