Re: Optimize latency of queries with facets

2024-01-09 Thread Mirko Sertic
Hi David, I'm following this topic. Would you please elaborate a little bit why docValues on a boolean field might be a bad idea? Is this specific to a Solr major release, or more a general concern? Do you have a documentation link to share? We were told that docValues should be enabled on fac

Re: Optimize latency of queries with facets

2024-01-07 Thread David Smiley
Enabling docValues on a boolean field is probably not a good idea. If disabling that doesn't help (and I do think it will), then you might want to use a simple string field that a doc either has the name of the boolean (if true) or does not, then facet on that. On Thu, Jan 4, 2024 at 3:18 PM Mikh

Re: Optimize latency of queries with facets

2024-01-04 Thread Mikhail Khludnev
How does it work with facet.method=enum? Slicing to even smaller shards makes sense. On Wed, Jan 3, 2024 at 12:10 AM rajani m wrote: > Hi Solr Users, > >Queries with facets show 2x increase in latency. This facet field is a > boolean field with docvalues enabled[1]. Same queries without fac

Optimize latency of queries with facets

2024-01-02 Thread rajani m
Hi Solr Users, Queries with facets show 2x increase in latency. This facet field is a boolean field with docvalues enabled[1]. Same queries without facets have ~50 ms and with facets it is ~120ms. Is this an expected performance? Appreciate any suggestions to optimize it. Additional details