Home /

5 Ways to Optimize Solr Search Performance

Is the performance of your Solr search implementation sluggish and crawling along at a snail’s pace? Are you getting unexpected out-of-memory errors, suffering from spontaneous recovery mode issues or experiencing slow indexing performance?

What are Signs of Solr Search Performance Issues?

Solr search configuration issues are complex and the prescriptions for fixing them are sometimes subtle. The solrconfig.xml settings can be the root cause of many performance issues. The default values suggested by the system are sometimes poor choices and can lead to sustained high CPU usage or high JVM memory loading.

Too-frequent hard commits, with their massive load on CPU and disk I/O, are the worst offender. Fortunately, that problem and many others are easy to fix by following best practices to optimize or tune Solr search performance.

5 Ways to Optimize Solr Search Performance

Based on years of managing Solr environments for over 600 customers across the globe, we have identified five recommendations to improve Solr search performance:

  1. Set autoSoftCommit feature to 2 minutes
  2. 2. Set the autoCommitfeature to 5 minutes
  3. Use autowarmCount = 0 for All Cache Settings
  4. Set maxRamMB to 200
  5. Use the Default Values of True for Lazy Fields and Sorted Query

 

Enter your business email to view our recommendations

SearchStax Cloud is a fully-managed SaaS solution that automates, manages, maintains and scales Solr search infrastructure in public or private clouds. Schedule a Demo to see the power of hosted Solr for yourself or Contact Us to speak with one of our search experts.

About the Author

By Dipsy Kapoor

VP, Engineering

February 2, 2023

Recommended for you

Test ChatGPT in iFrame

Test ChatGPT in iFrame Ask me a question about SearchStax below. Example questions could include: What is SearchStax Serverless Solr? What does SearchStax Serverless Solr

Test Knowledge Base Widget

Testing Knowledge Base Widget This is a test of the Document360 Knowledge Base Widget. Click on the purple icon in the bottom right corner to

Tags:
Cloud

Get the Latest Content First