You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2017/05/17 20:54:04 UTC

[jira] [Updated] (SOLR-10700) In 7.0 stop using the PostingsHighlighter

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

David Smiley updated SOLR-10700:
--------------------------------
    Attachment: SOLR_10700_Stop_using_PostingsHighlighter.patch

Pretty simple patch.  Logs a warning on initialization when you use it in solrconfig.xml but probably won't if you use it via {{hl.method=postings}}.  It's cool that with this change the existing tests pass without changes.

Suggested CHANGES.txt upgrading section note:

* The PostingsSolrHighlighter is now deprecated in favor of the UnifiedSolrHighlighter. 

> In 7.0 stop using the PostingsHighlighter
> -----------------------------------------
>
>                 Key: SOLR-10700
>                 URL: https://issues.apache.org/jira/browse/SOLR-10700
>             Project: Solr
>          Issue Type: Task
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: highlighter
>            Reporter: David Smiley
>            Assignee: David Smiley
>             Fix For: master (7.0)
>
>         Attachments: SOLR_10700_Stop_using_PostingsHighlighter.patch
>
>
> In 7.0 we should stop using the PostingsHighlighter (see LUCENE-7815 wherein it may not even exist anymore).  Instead we can mark it deprecated and configure the UnifiedHighlighter to behave like the PostingsHighlighter.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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