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 ...

Get Apache Solr Search Patterns now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.