Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-14082

Retrieving match offsets from the highlighter

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • highlighter
    • None

    Description

      I'm still fairly new to Solr; maybe it's already easily possible to do what I'm asking for, in which case this is a documentation issue.

      I want something more low-level than pre-edited HTML snippets from the highlighter: I just want the text offsets of matches so I can do the snippets myself, in the application, and link to the highlighted occurences of the search terms in the actual document.

      It would also be nice to get the scores for matching passages and the actual search terms they correspond to. I believe that the Lucene Matches API would provide that once LUCENE-9072 is merged.

      Attachments

        Activity

          People

            Unassigned Unassigned
            Pip Cet Pip Cet
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: