CONTACT:

team@tryolabs.com
(1) 650-319-7251

Tag : CouchDB

Last week, I had to integrate Lucene full-text search engine with CouchDB. Here are some quick handy notes in case you have to deal with this integration.

Lucene benefits: 

  • ranked searching
  • powerful query types: phrase queries, wildcard queries, proximity queries, range queries, etc
  • fielded searching
  • boolean operators
  • sorting by any field
  • allows simultaneous update and searching

 Install 

 Followed instructions from http://wiki.fluidproject.org/display/fluid/Setting+Up+CouchDB+and+Lucene 

Install maven2

sudo apt-get install git-core maven2

Download the couchdb-lucene source:

git clone git://github.com/rnewson/couchdb-lucene.git

Build everything:

cd couchdb-lucene
mvn

Copy the assembled jar file ...

Read more