Full-text search in NoSQL databases

unj2 picture unj2 · Mar 28, 2011 · Viewed 29.9k times · Source
  • Has anyone here have any experience deploying a real online system that had a full text search in any of the NoSQL databases?
  • For example, how does the full-text search compare in MongoDB, Riak and CouchDB?
  • Some of the metric that I am looking for is ease of deployment and maintaince and of course speed.
  • How mature are they? Are they any replacement for the Lucene infrastructure?

Answer

Andreas Jung picture Andreas Jung · Mar 28, 2011

None of the existing "NoSQL" database provides a reasonable implementation of something that could be named "fulltext search". MongoDB in particular has barely nothing so far (matching using regular expressions is not fulltext search and searching using $in or $all operators on a keyword word list is just a very poor implementation of a "fulltext search"). Using Solr, ElasticSearch or Sphinx is straight forward - an implementation and integration on the application level. Your choice widely depends on you requirements and current setup.