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()

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.10.2
    • Fix Version/s: 5.0, 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      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
          15 kB
          jane chang
        2. LUCENE-6050.patch
          12 kB
          jane chang
        3. LUCENE-6050.patch
          12 kB
          jane chang
        4. LUCENE-6050.patch
          6 kB
          jane chang

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              arcadius Arcadius Ahouansou

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment