Working with AJAX Solr

Now that we have seen the architecture and components of AJAX Solr, let us go ahead and see how to implement it. We will download the default reuters index and build some features on top of it.

The reuters index is included as a part of code of this chapter. It can also be downloaded from http://public.slashpoundbang.com.s3.amazonaws.com/data-solr-4-index.zip.

Start with a fresh installation of Solr. Unzip the downloaded index and replace the data folder inside the <solr_installation>/example/solr/collection1 folder.

If the data folder does not exist, start Solr using the following command inside the <solr_installation>/example folder:

java -jar start.jar

Once Solr is running, simply shut it down using Ctrl-C on the Command ...

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.