I've been a zone leader with DZone since 2008, and I'm crazy about community. Every day I get to work with the best that JavaScript, HTML5, Android and iOS has to offer, creating apps that truly make at difference, as principal front-end architect at Avego. James is a DZone Zone Leader and has posted 639 posts at DZone. You can read more from them at their website. View Full User Profile

Getting to Know Solr

10.19.2010
| 7610 views |
  • submit to reddit

For those of you interested in adding search functionality into your Java based applications, this week's refcard,  Apache Solr: Getting Optimal Search Results should be of interest to you. Solr is the HTTP-based server product of the Apache Lucene Project. It makes it easy for programmers to develop sophisticated, high performance search applications.

The refcard gives a great overview of all the different features available in Solr, giving an introduction to the core concepts. You'll find out how to setup a Solr instance and get a high level look at schema.xml, the configuration file that controls how your searchable index is built.  There are a few different ways to add documents to your index, either though CSV, XML or one of the client libraries that are available.

No doubt after reading the refcard, and trying out Solr, you'll want to take a look at some of the more advanced topics like distributed search, clustering and the MoreLikeThis component.

If you do want to follow on from this refcard, be sure to download LucidWorks detailed reference guide, and to check out the Solr wiki pages.

 

Tags:

Comments

Mis Tigi replied on Wed, 2010/10/20 - 2:19pm

James, thanks for this helpful refcard. I love solr.

 A small thing though, do not label solr as "for java applications", it can be used from any application over http.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.