Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-8457

DocumentObjectBinder should be able to work with highlight

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Duplicate
    • 5.4
    • None
    • SolrJ
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              abenedetti Alessandro Benedetti
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: