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

It should be possible to highlight external text

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • highlighter
    • None

    Description

      Many sites don't store text in Lucene/Solr and so need a way to highlight text stored in a database (or some equivalent).

      As a workaround, FieldAnalysisRequestHandler can provide offsets from external text, but it does not support wildcard queries.

      Attachments

        1. DefaultSolrHighlighter.java
          28 kB
          Jamie Johnson
        2. SolrHighlighter.java
          5 kB
          Jamie Johnson
        3. SolrExternalFieldProvider.java
          0.4 kB
          Jamie Johnson
        4. TestExternalFieldProvider.java
          0.6 kB
          Jamie Johnson
        5. ExternalHighlighter.patch
          11 kB
          Jamie Johnson

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            andersm Anders Melchiorsen

            Dates

              Created:
              Updated:

              Slack

                Issue deployment