Hello all,
I have a few questions w.r.t the caches and the IndexSearcher available in
solr. I am using solr 1.3.
- The solr wiki states that the caches are per IndexSearcher object i.e if I
set my filterCache size to 1000 it means that 1000 entries can be assigned
for every IndexSearcher object. Is this true for queryResultsCache,
filterCache and documentCache ? For the document cache, the wiki states that
the value should be greater than (number of records) * (max number of
queries). If the document cache is also sized per IndexSearcher object, then
why do we need the (max number of queries) parameter in the formula ?
- In a web application, where multiple users may log into the system and
query concurrently, should we assign a new IndexSearcher object for every
user ? I tried sharing the IndexSearcher object but noticed that the search
criteria and filters of one user gets carried over to another ? Or is there
some way to get over that ?
- Combining the above two, if the caches are per IndexSearcher objects, and
if we have to assign a new IndexSearcher for every new user (in a web
application), will the total cache size not explode ?

Apologies if these seem really basic. Thank you.

Regards
Rahul

Reply via email to