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

AnalyzingInfixSuggester returns wrong results with allTermsRequired=false plus contexts

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.3, 7.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      I hit this bug while dog-food eating (attempting to upgrade http://jirasearch.mikemccandless.com from 4.6.x to 6.x):

      If you ask AnalyzingInfixSuggester for suggestions, but 1) you do not require all terms to match, and 2) you provide a context for filtering the results, then you'll get back results that did not match any of the terms from the user's query but did match solely the context filter.

        Attachments

        1. LUCENE-7505.patch
          6 kB
          Michael McCandless

          Activity

            People

            • Assignee:
              mikemccand Michael McCandless
              Reporter:
              mikemccand Michael McCandless
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: