You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alessandro Benedetti (JIRA)" <ji...@apache.org> on 2015/12/22 22:03:46 UTC

[jira] [Created] (SOLR-8457) DocumentObjectBinder should be able to work with highlight

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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org