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

The AJAX Solr architecture

AJAX Solr follows the Model-View-Controller (MVC) pattern. The components of AJAX Solr are:

  • ParameterStore: This is the model of an MVC framework. This class stores the Solr parameters and hence the state of the application.
  • Manager: This acts as the controller in the MVC framework. It talks to the ParameterStore class and sends requests to the Solr server and delegates the response received to the widgets for rendering.
  • Widgets: Widgets act as views rendering the interface.

Note

AJAX Solr library can be downloaded from https://github.com using the Git client and the following command:

git clone https://github.com/evolvingweb/ajax-solr.git

You will need to install the Git client on your machine to execute this command. For ...

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