pecl-search_engine-solr icon indicating copy to clipboard operation
pecl-search_engine-solr copied to clipboard

[request] Add support for "hl.q" parameter

Open eduardomps opened this issue 4 years ago • 0 comments

Hello,

I'd like to request that the library supported overriding the "hl.q" parameter, as stated on the solr ref. guide:

hl.q (q=) A query to use for highlighting. This parameter allows you to highlight different terms than those being used to retrieve documents.

We have a couple of cases where a query is made against a copy field which does not return highlights, but another one does because of the analyzers on each are different (for highlighting purposes we could force the use of the second one)

eduardomps avatar Dec 16 '21 15:12 eduardomps