On 1/26/24 03:38, Srijan wrote:
Since upgrading to Solr 9.x, I've observed a drastic decrease in
performance – approximately 10 to 20 times slower than before. And this
stems from the fact that stored fields in Solr 9.x are now compressed.
Decompressing these fields during each search query has introduced a
substantial performance overhead.

Stored fields have been compressed since Solr 4.1.0. Unless you upgraded from a VERY old version, stored field compression is unlikely to be the source of your performance issue.

You can have the source of the data uncompressed if you set stored to false, docValues to true, and useDocValuesAsStored to true. Not all fieldtype classes support docValues, though -- in particular TextField does not.

Thanks,
Shawn

Reply via email to