I am not sure I understand the problem statement. Is it speed? Memory
usage? Something very specific about SolrCloud?

To me it seems the problem is that your 'fq' _are_ getting cached when
you may not want them as the list is different every time. You could
disable that cache.

Or you could try TermsQueryParser instead:
https://cwiki.apache.org/confluence/display/solr/Other+Parsers#OtherParsers-TermsQueryParser

Regards,
    Alex.

----
Solr Analyzers, Tokenizers, Filters, URPs and even a newsletter:
http://www.solr-start.com/


On 18 August 2015 at 09:21, Norgorn <lsunnyd...@mail.ru> wrote:
> SOLR version - 4.10.3
> We have SOLR Cloud cluster, each node has documents only for several
> categories.
> Queries look like "...fq=cat(1 3 89 ...)&..."
> So, only some nodes need to process, others can answer with zero as soon as
> they check "cat".
>
> The problem is to keep separate cache for "cat" values on each node.
>
> As I understand, custom caches are available only for custom request
> handlers, but we are happy with default SearchHandler.
>
> Is it possible to solve the problem without custom handlers?
>
>
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Solr-cache-for-specific-field-tp4223651.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to