Spring Data Solr – Index and Find Documents

In today’s post I would share a sample program to index and find documents into/from Apache Lucene Solr using Spring Data Solr. If you don’t have Solr in your local machine please download and install Solr from official site. This program is tested against the Solr server running in localhost and in default port. (http://localhost:8983/solr/) [...]
Continue reading…

 

How to setup Lucene Solr project in Eclipse?

1. Download Eclipse IDE. 2. Install SVN plugin for Eclipse IDE. I used Subversive plugin. 3. Create a new project in Eclipse and check out code from http://svn.apache.org/repos/asf/lucene/dev/trunk. (select others and svn) 4. In Lucene Solr, project dependencies are managed using Ivy. So run the ant ivy-bootstrap task in the outer most build.xml 5. Now [...]
Continue reading…

 

How to Customize Stemming in Apache Solr?

Stemming is the process for reducing inflected or sometimes derived words to their stem, base, or root form. Suffix Stemming Example Objective of Stemming Stemming is done to improve search result recall. Though stemming improve recall it would reduce the precision. Solr Stemmers suitable for English Customize Stemming Sometime the standard out of the box [...]
Continue reading…