Lucene Example
I’ve been doing some work with Lucene to bring search capabilities to some web applications. So far I’ve been pretty pleased. Lucene is very powerful and reasonable simple once you know how to make it work. I’ve published a Lucene example of the MoreLikeThis functionality. MoreLikeThis is a great way to reduce the number of duplicate entries you get in your database. I’m using it for a quotation database. When a user tries to add a new entry, Lucene uses MoreLikeThis to see if there are any similar entries. The Lucene example shows how these other quotations are retrieved. They are then displayed to the user so they can see if what they are typing is already in the database.

