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

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

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.6, 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: