O'Reilly logo

Apache Solr Search Patterns by Jayant Kumar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Performance tuning

With AJAX Solr, we end up adding a lot of JavaScript and CSS to our pages. Though the searches would be faster as there is no server between the Solr server and the web browser, front-end optimizations can improve user experience. Here are some tips for that.

  • Controlling and minimizing server traffic: It is important to minimize the amount of data that flows between the Solr server and the web browser where AJAX Solr is in action. This can be achieved using the following:
    • Filtering at the server level: It is not a good idea to fetch the complete set of documents and the associated details from the server and filter them at the browser level so as to render only those results that match with the request. AJAX Solr performs filtering ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required