Lucene - Core
  1. Lucene - Core
  2. LUCENE-5478

Allow CommonTermsQuery to create custom term queries

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.7
    • Fix Version/s: 4.8, 6.0
    • Component/s: modules/other
    • Labels:
      None
    • Lucene Fields:
      New, Patch Available

      Description

      currently we create term queries with new TermQuery(..) directly in CommonTermsQuery I'd like to extend the creation of the term query just like you can do that in the the query parser.

      1. LUCENE-5478.patch
        8 kB
        Simon Willnauer

        Activity

        Hide
        Simon Willnauer added a comment -

        here is a patch

        Show
        Simon Willnauer added a comment - here is a patch
        Hide
        Uwe Schindler added a comment -

        Cool, +1

        Show
        Uwe Schindler added a comment - Cool, +1
        Hide
        ASF subversion and git services added a comment -

        Commit 1572613 from Simon Willnauer in branch 'dev/trunk'
        [ https://svn.apache.org/r1572613 ]

        LUCENE-5478: CommonTermsQuery now allows to create custom term queries

        Show
        ASF subversion and git services added a comment - Commit 1572613 from Simon Willnauer in branch 'dev/trunk' [ https://svn.apache.org/r1572613 ] LUCENE-5478 : CommonTermsQuery now allows to create custom term queries
        Hide
        ASF subversion and git services added a comment -

        Commit 1572624 from Simon Willnauer in branch 'dev/branches/branch_4x'
        [ https://svn.apache.org/r1572624 ]

        LUCENE-5478: CommonTermsQuery now allows to create custom term queries

        Show
        ASF subversion and git services added a comment - Commit 1572624 from Simon Willnauer in branch 'dev/branches/branch_4x' [ https://svn.apache.org/r1572624 ] LUCENE-5478 : CommonTermsQuery now allows to create custom term queries

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development