Alessandro Benedetti created SOLR-8457:
------------------------------------------
Summary: DocumentObjectBinder should be able to work with highlight
Key: SOLR-8457
URL: https://issues.apache.org/jira/browse/SOLR-8457
Project: Solr
Issue Type: Improvement
Components: SolrJ
Affects Versions: 5.4
Reporter: Alessandro Benedetti
Priority: Trivial
It is a common use case, when you have configured the highlighter in your
request handler to quickly get a pojo object containing the highlighted
content, instead of accessing the highlighting snippet map.
it could be useful to have an option in the document binder to take a look
first to the highlighted snippets and then fallback to the normal field (
usually the fallback is already in the highlighter component anyway) .
In this way would be much simpler for a SolrJ user to get directly a java pojo
bean, with the fields already with the highlighted value.
Without accessing both the pojo and the highlighting map, and make intersection.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]