Hi,

I have a custom ValueSource that I'd like to use as a filter, something
like:

fq={!frange l=1 u=1}MYFUNC(some_field, addl args)

Based on the args passed in and the value in some_field, MYFUNC returns
either 1 or 0.

This works but it doesn't seem like the results get cached as subsequent
requests of the same query take the same amount of time to execute as the
first request (which is a little slow).

My question is whether I should expect Solr to cache this filter in the
filterCache? In other words, is there any reason to expect frange filters
with custom ValueSources to not be cached? Looking at the cache stats, it
doesn't appear that this filter gets cached.

Cheers,
Tim

Reply via email to