White Papers

top 10 best practices for
Taking Solr to Production

Following the top Solr best practices is critical when you are moving your Apache Solr infrastructure from development to production, whether you’re using Sitecore, AEM, Drupal, or your own custom application. 

It is quite straightforward to install Solr on your local machine and load a collection; however, when you start getting ready for production, you discover how daunting it can actually be.

SearchStax Managed Search service lets you automate, manage and scale high-availability Solr in public or private clouds – and easily make your Solr implementation production-ready.

10 Best Practices for Taking Solr to Production

SearchStax Managed Search FAQs

What is Apache Solr?

Apache Solr is an open-source search platform that provides indexing and search capabilities for web applications and other types of data-driven applications. Solr is built on top of Apache Lucene, which is a high-performance search engine library written in Java.

What is SearchStax Managed Search?

SearchStax Managed Search is a fully-managed SaaS solution that automates, manages, maintains and scales Solr search infrastructure in public or private clouds.

Core features include:

Core Features

  • High Availability Solr or HA Solr
  • Cloud automation
  • Monitoring and alerting
  • Automated backups
  • Disaster recovery options to meet every business need
  • Available on AWS, Azure and Google in over 60 regions
  • On-demand scaling
  • Roles and permissions
What are 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?

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

View our recommendations to optimize Solr search performance.

Top 10 Best Practices for Taking Solr to Production

Here are our top 10 Solr best practices for getting your system ready for production that Solr doesn’t print on their “instruction label.”

  1. Implement Zookeeper 
  2. Achieve High Availability
  3. Follow Security Protocols with TLS
  4. Maintain Access Restrictions
  5. Distribute Queries with a Load Balancer
  6. Determine What and When to Log
  7. Monitor the Health of your Solr Deployment 
  8. Create a Backup Strategy
  9. Determine When to Expand Storage
  10. Keep Up with Vulnerability Patches

Recommended for you

Managed Search

Let’s talk about how SearchStax
makes powerful search easier

Download This White Paper