cpoerschke commented on a change in pull request #757: URL: https://github.com/apache/solr/pull/757#discussion_r838478595
########## File path: solr/solr-ref-guide/modules/query-guide/pages/highlighting.adoc ########## @@ -116,6 +116,17 @@ If set to `true`, only query terms aligning with the field being highlighted wil If the query references fields different from the field being highlighted and they have different text analysis, the query may not highlight query terms it should have and vice versa. The analysis used is that of the field being highlighted (`hl.fl`), not the query fields. +`hl.queryFieldPattern`:: ++ +[%autowidth,frame=none] +|=== +|Optional |Default: `none` +|=== ++ +Similar to `hl.requireFieldMatch` but allows for multiple fields to match e.g. `q=fieldA:one OR fieldB:two OR fieldC:three` `hl.fl=fieldA` `hl.queryFieldPattern=fieldA,fieldB` Review comment: docs updated in https://github.com/apache/solr/pull/757/commits/ee6f1e3e15457d8e89deaf5e68abba199568e586 and also in https://github.com/apache/solr/pull/757/commits/44bd2201f834dd7ef35773e1e3630cf5838ca2b2 added test for it. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org