[ 
https://issues.apache.org/jira/browse/SOLR-9708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Smiley updated SOLR-9708:
-------------------------------
    Attachment: SOLR-9708.patch

Here's the patch, with FASTVECTOR -> FAST_VECTOR.  Proposed CHANGES.txt will be:

New Feature:

SOLR-9708: Added UnifiedSolrHighlighter, a highlighter adapter for Lucene's 
UnifiedHighlighter.  The adapter is a derivative of the 
PostingsSolrHighlighter, supporting mostly the same parameters with some 
differences.
Introduced "hl.method" parameter which can be set to 
original|fastVector|postings|unified to pick the highlighter at runtime without 
the need to modify solrconfig from the default configuration.  
hl.useFastVectorHighlighter is now considered deprecated in lieu of 
hl.method=fastVector.

Upgrading:

You are encouraged to try out the UnifiedHighlighter by setting 
hl.method=unified and report feedback.  It might become the default in 7.0.  
It's more efficient/faster than the other highlighters, especially compared to 
the original Highlighter.  That said, some options aren't supported yet, 
notably hl.fragsize and hl.requireFieldMatch=false.  It will get more features 
in time, especially with your input.  See HighlightParams.java for a listing of 
highlight parameters annotated with which highlighters use them.

----
I don't recall seeing this kind of note before in the upgrading section but I 
think it's appropriate.  Nobody actually has to do anything, but it's in 
everyone's interest to try it out.

BTW thanks Tim for entertaining my request to incorporate hl.method.  In 
hindsight it deserved a separate issue.

I'll commit tomorrow night.

> Expose UnifiedHighlighter in Solr
> ---------------------------------
>
>                 Key: SOLR-9708
>                 URL: https://issues.apache.org/jira/browse/SOLR-9708
>             Project: Solr
>          Issue Type: New Feature
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: highlighter
>            Reporter: Timothy M. Rodriguez
>            Assignee: David Smiley
>             Fix For: 6.4
>
>         Attachments: SOLR-9708.patch
>
>
> This ticket is for creating a Solr plugin that can utilize the new 
> UnifiedHighlighter which was initially committed in 
> https://issues.apache.org/jira/browse/LUCENE-7438



--
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