Wow that's terrible! So this problem is for SENTENCE in particular, and it's a regression in 8.5? I'll see if I can reproduce this with the Lucene benchmark module.
I figure you have some meaty text, like "page" size or longer? ~ David On Mon, May 25, 2020 at 10:38 AM Michal Hlavac <m...@hlavki.eu> wrote: > 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. > > >