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

AnalyzingInfixSuggester should return structured highlighted results instead of single String per result

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.6, 6.0
    • None
    • None
    • New

    Description

      Today it renders to an HTML string (<b>..</b> for hits) in protected
      methods that one can override to change the highlighting, but this is
      hard/inefficient to use for search servers that want to e.g. return
      JSON representation of the highlighted result.

      This is the same issue as LUCENE-4906 (PostingsHighlighter) but for
      AnalyzingInfixSuggester's highlights instead.

      Attachments

        1. LUCENE-5133.patch
          17 kB
          Michael McCandless
        2. LUCENE-5133.patch
          17 kB
          Michael McCandless
        3. LUCENE-5133.patch
          14 kB
          Michael McCandless

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: