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

PostingsHighlighter's PassageFormatter should allow for rendering to arbitrary objects

    XMLWordPrintableJSON

Details

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

    Description

      For example, in a server, I may want to render the highlight result to JsonObject to send back to the front-end. Today since we render to string, I have to render to JSON string and then re-parse to JsonObject, which is inefficient...

      Or, if (Rob's idea we make a query that's like MoreLikeThis but it pulls terms from snippets instead, so you get proximity-influenced salient/expanded terms, then perhaps that renders to just an array of tokens or fragments or something from each snippet.

      Attachments

        1. LUCENE-4906.patch
          9 kB
          Michael McCandless
        2. LUCENE-4906.patch
          48 kB
          Luca Cavanna
        3. LUCENE-4906.patch
          8 kB
          Michael McCandless

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: