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

David Smiley commented on SOLR-6916:
------------------------------------

Alternatively... always enable and the cost is one integer per term position in 
MemoryIndex.  Arguably if you have tons of text (and hence positions) you 
should be using term vectors which doesn't use MemoryIndex for highlighting?  I 
dunno.

> Option to use payloads with default highlighter
> -----------------------------------------------
>
>                 Key: SOLR-6916
>                 URL: https://issues.apache.org/jira/browse/SOLR-6916
>             Project: Solr
>          Issue Type: New Feature
>          Components: highlighter
>            Reporter: David Smiley
>            Assignee: David Smiley
>             Fix For: 5.0
>
>
> MemoryIndex can now store payloads (LUCENE-6155), and there's a corresponding 
> boolean flag setter on QueryScorer (used by the default highlighter).  We 
> should add a parameter to toggle this.  It will only take effect if 
> {{hl.usePhraseHighlighter=true}} and the source of the tokens comes from 
> re-analysis.  This settings is ignored if the tokens come from term vectors 
> which support payloads already (in Lucene/Solr 5) provided they are there.
> I suggest naming this boolean parameter {{hl.payloads}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to