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

Highlighter which generates a list of query term position(s) for each item in a list of documents, or returns null if highlighting is disabled.

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 4.3, 6.0
    • None
    • highlighter
    • None

    Description

      As an alternative to returning snippets, this highlighter provides the (term) position for query matches. One usecase for this is to reconcile the term position from the Solr index with 'word' coordinates provided by an OCR process. In this way we are able to 'highlight' an image, like a page from a book or an article from a newspaper, in the locations that match the user's query.

      This is based on the FastVectorHighlighter and requires that termVectors, termOffsets and termPositions be stored.

      Attachments

        1. solr-positionshighlighter.jar
          3 kB
          Tricia Jenkins
        2. SOLR-4722.patch
          16 kB
          Tricia Jenkins
        3. SOLR-4722.patch
          14 kB
          Tricia Jenkins
        4. PositionsSolrHighlighter.java
          10 kB
          Forest Soup

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pgwillia Tricia Jenkins
              Votes:
              6 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated: