Hi David,

Thanks so much for your reply.
hl.weightMatches was indeed the culprit. After setting it to false, I am
now getting the same sub-second response as Solr 6. I am using Solr 8.6.1
(<luceneMatchVersion>8.6.1</luceneMatchVersion>)

Here are the tests I carried out:
hl.requireFieldMatch=true&hl.weightMatches=true  (2458 ms)
hl.requireFieldMatch=false&hl.weightMatches=true (3964 ms)
hl.requireFieldMatch=true&hl.weightMatches=false (158 ms)
hl.requireFieldMatch=false&hl.weightMatches=false (169 ms) (CHOSEN since
this is consistent with our earlier setting).

Thanks again, I will inform our other teams as well doing the Solr upgrade
to check the CHANGES.txt doc related to this.

Reply via email to