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 the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.