[ https://issues.apache.org/jira/browse/SO
LR-386?page=com.atlassian.jira.plugin.system.issuetabpanels:
comment-tabpanel#action_12536348 ]
Eli Levine commented on SOLR-386:
---------------------------------
This would be useful for projects with non-standard
highlighting needs. In our case, under certain
circumstances we need to run a field through the highlighter
multiple times using different fragmenters if previous runs
did not produce any highlighted fragments. Also, this would
allow us to use SpanScorer for phrase highlighting, as it is
instantiated differently from other scorers (needs
CachingTokenFilter, etc.)
Since the Solr highlighter is a plug-in, it seems natural to
allow different implementations to be used, similar to
what's allowed for request and update handlers and other
configurable parts of SolrCore.
Thanks,
Eli
> Add confuguration to specify SolrHighlighter
implementation
>
-----------------------------------------------------------
>
> Key: SOLR-386
> URL: https:
//issues.apache.org/jira/browse/SOLR-386
> Project: Solr
> Issue Type: Improvement
> Components: search
> Affects Versions: 1.3
> Reporter: Eli Levine
>
> It would be great if SolrCore allowed the highlighter
class to be configurable. A good way would be to add a
+class+ attribute to the <highlighting> element in
solrconfig.xml, similar to how the RequestHandler instance
is initialized in SorCore.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue
online.
|