Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-3833

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

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • core/queryparser
    • None
    • 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.

      Attachments

        1. LUCENE-3833.patch
          13 kB
          Juan Grande

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mlissner Mike Lissner
              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