lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tricia Jenkins (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (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.
Date Tue, 16 Apr 2013 21:53:17 GMT

    [ https://issues.apache.org/jira/browse/SOLR-4722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13633426#comment-13633426
] 

Tricia Jenkins edited comment on SOLR-4722 at 4/16/13 9:52 PM:
---------------------------------------------------------------

Solr plug-in jar compiled against 4.1.0.  Place this into your solr.home/collection/lib directory
and configure conf/solrconfig.xml
{code:xml}<searchComponent class="solr.HighlightComponent" name="highlight">
  <highlighting class="org.apache.solr.highlight.PositionsSolrHighlighter" summarizeEmpty="false"/>
</searchComponent>
{code} 
 to use.
                
      was (Author: pgwillia):
    Solr plug-in jar compiled against 4.1.0.  Place this into your solr.home/collection/lib
and configure conf/solrconfig.xml
{code:xml}<searchComponent class="solr.HighlightComponent" name="highlight">
  <highlighting class="org.apache.solr.highlight.PositionsSolrHighlighter" summarizeEmpty="false"/>
</searchComponent>
{code} 
 directory to use.
                  
> 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.
> -----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-4722
>                 URL: https://issues.apache.org/jira/browse/SOLR-4722
>             Project: Solr
>          Issue Type: New Feature
>          Components: highlighter
>    Affects Versions: 4.3, 5.0
>            Reporter: Tricia Jenkins
>            Priority: Minor
>         Attachments: SOLR-4722.patch, solr-positionshighlighter.jar
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message