News for hackers. Stuff that matters.
Re:Open Source Search with Lucene & Solr by reinhardt on Saturday October 23, 2010 @02:58AM (#1822874)
Any experience on how Lucene/Solr stacks up against other search tools such as Sphinx or Xapian ?
Re:Open Source Search with Lucene & Solr by gtani on Saturday October 23, 2010 @01:09PM (#1823887)
Not sure if you're asking about indexing speed/size, precision/recall and the 2 or 3 dozen config options (separator/tokenizers/analyzers, stopword, index to ASCII or Latin-1, AND/OR search terms), etc.

What I recommend for precision/recall /config options is that your platform (rails, django, java, PHP) probably has plugin for SOLR and sphinx. Set up 2-4 indexes using the config options that matter most to you (for me they're AND-OR of search terms, and stopwords, which i use in lists of 0, 50, 100, 150). Then do a (sort of) A-B test where you see which records one index picks up that the other misses. (Most people recommend not using any stopwords if you're only using one index, but i never got decent results using only one index)

P.S. Solr is the 800-pound gorilla, has the terrific Manning book, zillions of docs, etc. Sphinx probably covers most people's needs config-option wise(at least for European languages) lightning fast to index, and runs in 256M VPS, no tomcat/jetty.