I did same test on solr 8.4.1 and response times are same for both 
hl.bs.type=SENTENCE and hl.bs.type=WORD

m.

On pondelok 25. mája 2020 15:28:24 CEST Michal Hlavac wrote:


Hi,
 
I have field:
<field name="content_txt_sk_highlight" type="txt_sk_lemma_no_accent" 
stored="true" indexed="false" storeOffsetsWithPositions="true"/>
 
and configuration:
<str name="hl">true</str>
<str name="hl.method">unified</str>
<bool name="hl.defaultSummary">true</bool>
<str name="hl.fl">content_txt_sk_highlight</str>
<int name="hl.snippets">2</int>
<bool name="spellcheck">true</bool>
 
Doing query with hl.bs.type=SENTENCE it takes around 1000 - 1300 ms which is 
really slow.
Same query with hl.bs.type=WORD takes from 8 - 45 ms
 
is this normal behaviour or should I create issue?
 
thanks, m. 


Reply via email to