Dear Mark,

I see that you can monitor cache status and evictions in the Solr UI. As
far as I understand the filterCache, it will store the results of 512
queries where filter query (fq) was used. For example, if I want to see how
many views a particular item has:

http://localhost:3000/solr/statistics/select?q=*:*&fq=owningItem:11576&fq=statistics_type=view&fq=isBot:false&rows=0&wt=json&indent=true

This selects all documents and filters the results by owningItem,
statistics_type, and isBot. So because I used three `fq` parameters there
would be three entries in the filterCache. On a related note, I've read
that if you combine filters into one parameter with AND or OR like
`fq=owningItem:11576+AND+isBot:false` then there would be only one entry in
the filterCache.

Logically it's easy to see that the default of 512 is very conservative. A
site with only a few hundred items and a few hundred visits per day would
easily fill this cache with the Solr queries generated by the Discovery
sidebar facets and searches. This is definitely worth investigating and
testing more.

Resources:
- http://yonik.com/advanced-filter-caching-in-solr/
-
http://blog.florian-hopf.de/2014/05/solr-cache-sizes-eclipse-memory-analyzer.html

On Wed, Sep 19, 2018 at 3:40 PM Mark H. Wood <[email protected]> wrote:

> An interesting question.  How would one measure the actual cache
> effectiveness?  It seems to me that changes to this sort of thing would be
> difficult to judge by simply oberving overall performance.
>
> --
> All messages to this mailing list should adhere to the DuraSpace Code of
> Conduct: https://duraspace.org/about/policies/code-of-conduct/
> ---
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Alan Orth
[email protected]
https://picturingjordan.com
https://englishbulgaria.net
https://mjanja.ch
"In heaven all the interesting people are missing." ―Friedrich Nietzsche

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to