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

Add possibility to specify SHOUD or MUST for each context for AnalyzingInfixSuggester.loockup()

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.10.2
    • 5.0, 6.0
    • None
    • None
    • New

    Description

      Currently as shown at
      https://github.com/apache/lucene-solr/blob/lucene_solr_4_9_0/lucene/suggest/src/java/org/apache/lucene/search/suggest/analyzing/AnalyzingInfixSuggester.java#L362 , we have:

      lookup(CharSequence key, Set<BytesRef> contexts, int num, boolean allTermsRequired, boolean doHighlight)
      

      and SHOULD is being applied to all contexts.

      We need the ability to specify whether it's a SHOULD or a MUST on each individual context.

      Thanks.

      Attachments

        1. LUCENE-6050.patch
          6 kB
          jane chang
        2. LUCENE-6050.patch
          12 kB
          jane chang
        3. LUCENE-6050.patch
          12 kB
          jane chang
        4. LUCENE-6050.patch
          15 kB
          jane chang

        Issue Links

          Activity

            People

              Unassigned Unassigned
              arcadius Arcadius Ahouansou
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: