I suspect this is spurious. Norms are just an encoding
of the length of a field, offhand I have no clue how having
them (or not) would affect highlighting at all.

Term _vectors_ OTOH could have a major impact. If 
FastVectorHighlighter is not used, the highlighter has
to re-analyze the text in order to highlight, and if you’re
highlighting in large text fields that can be very expensive.

Norms, aren’t relevant there….

So let’s see the full highlighter configuration you have, along
with the field definition for the field you’re highlighting on.

Best,
Erick

> On Dec 3, 2019, at 4:27 PM, Odysci <[email protected]> wrote:
> 
> I'm using solr-8.3.1 on a solrcloud set up with 2 solr nodes and 2 ZK nodes.
> I was experiencing very slow search-with-highlighting on a index that had
> 'omitNorms="true"' on all fields.
> At the suggestion of a stackoverflow post, I changed all fields to be
> 'omitNorms="false"' and the search-with-highlight time came down to about
> 1/10th of what it was!!!
> 
> This was a relatively small index and I had no issues with memory increase.
> Now my question is whether I should expect the same speed up on regular
> search calls, or search with only filters (no query)?
> This would be on a different, much larger index - and I do want to incur
> the memory increase unless the search is significantly faster.
> Does anyone have any experience in comparing search speed using "omitNorms"
> true or false in regular search (non-highlight)?
> Thanks!
> 
> Reinaldo

Reply via email to