Lucene - Core
  1. Lucene - Core
  2. LUCENE-3833

Add an operator to query parser for term quorum (ie: BooleanQuery.setMinimumNumberShouldMatch)

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core/queryparser
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      A project I'm working on requires term quorum searching with stemming turned off. The users are accostomed to Sphinx search, and thus expect a query like [ A AND (B C D)/2 ] to return only documents that contain A or at least two of B, C or D.

      So this document would match:
      a b c

      But this one wouldn't:
      a b

      This can be a useful form of fuzzy searching, and I think we support it via the MM parameter, but we lack a user-facing operator for this. It would be great to add it.

        Issue Links

          Activity

          Juan Grande made changes -
          Attachment LUCENE-3833.patch [ 12520198 ]
          Hoss Man made changes -
          Summary Add an operator to edismax for term quorum Add an operator to query parser for term quorum (ie: BooleanQuery.setMinimumNumberShouldMatch)
          Hoss Man made changes -
          Project Solr [ 12310230 ] Lucene - Java [ 12310110 ]
          Key SOLR-3100 LUCENE-3833
          Lucene Fields New [ 10121 ]
          Component/s core/queryparser [ 12310234 ]
          Component/s search [ 12310674 ]
          Hoss Man made changes -
          Link This issue relates to SOLR-3028 [ SOLR-3028 ]
          Hoss Man made changes -
          Parent SOLR-3028 [ 12538021 ]
          Issue Type Sub-task [ 7 ] New Feature [ 2 ]
          Jan Høydahl made changes -
          Link This issue is part of SOLR-2368 [ SOLR-2368 ]
          Mike made changes -
          Field Original Value New Value
          Parent SOLR-3028 [ 12538021 ]
          Issue Type New Feature [ 2 ] Sub-task [ 7 ]
          Mike created issue -

            People

            • Assignee:
              Unassigned
              Reporter:
              Mike
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:

                Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified

                  Development