On 5/25/23 11:00, Wei wrote:
For e.g. - Current FQ -

fq: planName:all_features OR zipCode:1234 (in this case entire FQ is cached)

I don't want to cache the entire FQ given it's very unique , but I
want to cache the first part (plan_name:all_features) to improve
performance . How do I achieve this?

I am about 90 percent sure this is not possible. In the filterCache, the entire text of the filter is used as the key for each entry in the cache.

I'm not familiar with that part of the code, but I bet that even if it IS possible, and it might not be, it would take a near-complete rewrite of Solr's filter query code.

Thanks,
Shawn

Reply via email to