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/07/11 14:39:00 UTC

[jira] [Closed] (SOLR-6070) Cannot use multiple highlighting components in a single solrconfig

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

David Smiley closed SOLR-6070.
------------------------------
    Resolution: Won't Fix

I'm closing this as Won't-Fix.  I think the UnifiedHighlighter addresses the underlying need here, even though you still can't have multiple highlight components.

> Cannot use multiple highlighting components in a single solrconfig
> ------------------------------------------------------------------
>
>                 Key: SOLR-6070
>                 URL: https://issues.apache.org/jira/browse/SOLR-6070
>             Project: Solr
>          Issue Type: Bug
>          Components: highlighter
>    Affects Versions: 4.7.2, 4.8
>            Reporter: Elaine Cario
>              Labels: highlighting
>
> I'm trying to use both the PostingsHighlighter and the FastVectorHighlighter in the same solrconfig (selection driven by different request handlers), but once I define 2 search components in the config, it always picks the Postings Highlighter (even if I never reference it in any request handler).
> I think the culprit is some specific code in SolrCore.loadSearchComponents(), which overwrites the "highlighting" component with the contents of the "postingshighlight" component - so the components map has 2 entries, but they both point to the same highlighting class (the PostingsHighlighter).



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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