Just throwing this out there, have you tried the unifiedHighlighter with 
termVectors/character offsets? The default configuration re-analyzes the text 
of the result-set which can be cpu-bound for large docs/fields. But there are 
ways to get around this by storing the character offsets and termVectors in the 
index, which can be a good tradeoff in many situations, i.e. "Postings"
 
https://solr.apache.org/guide/solr/latest/query-guide/highlighting.html#:~:text=over%20highlighting%20performance.-,Postings,-%3A%20Supported%20by%20the

I know this doesn't answer your question but just wanted to mention an 
alternative solution to relying on time-outs/partial-results, which may be 
frustrating for other reasons.
Sent from Bloomberg Professional for Android

----- Original Message -----
From: Mingchun Zhao <users@solr.apache.org>
To: users@solr.apache.org
At: 11/12/24 21:55:36 UTC-05:00


Hi,

If a query is interrupted due to timeAllowed, does it still return the
partially matched documents and highlight snippets on it? Or does the
behavior vary depending on the Solr version?
In my testing, when the response header includes "partialResults=true", the
partial search results or snippets were not included in the response body.

Regards,
Zhao

Reply via email to