Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update solr config for Filter Cache Evictions #140

Open
rlskoeser opened this issue Jun 21, 2023 · 0 comments
Open

update solr config for Filter Cache Evictions #140

rlskoeser opened this issue Jun 21, 2023 · 0 comments

Comments

@rlskoeser
Copy link
Contributor

flagged by Max on PUL slack for cdh_ppa but may be relevant to other applications using Solr

I'm not sure where your Solr configurations live, but a bunch of ours live here - https://github.com/pulibrary/pul_solr/tree/main/solr_configs. The Catalog filterCache setting lives here - https://github.com/pulibrary/pul_solr/blob/05d87860a7837c62135dedc949ed608644666cd3/solr_configs/catalog-production-v2/conf/solrconfig.xml#LL1[…]C38
There's more documentation here - https://solr.apache.org/guide/8_3/query-settings-in-solrconfig.html
My very basic understanding is that you want to dial in your cache settings so that you don't get a ton of evictions, and you get a fairly high hit ratio, without over-taxing your machine's memory. Right now, what's in Datadog as cdh_ppa has very very high filter cache evictions, and very low filter cache hit ratio, so you might want to give a higher value to your filterCache in your conf/solrconfig.xml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant