全文搜索NoSQL数据库 [英] Full-text search in NoSQL databases
问题描述
- 这里的任何人都有部署真正的在线系统,在任何NoSQL数据库中进行全文搜索的任何经验吗?
- 例如,在MongoDB,Riak和CouchDB中,全文搜索如何进行比较?
- 我正在寻找的一些指标是易于部署和维护,当然还有速度。
- 他们有多成熟?
- 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?
感谢。
推荐答案
现有的NoSQL数据库都没有提供可以命名为全文搜索的合理实现。 MongoDB特别是几乎没有什么东西到目前为止(匹配使用正则表达式不是全文搜索和使用$ in或$ all运算符搜索关键字词列表只是一个非常差的全文搜索的实现)。使用Solr,ElasticSearch或Sphinx是简单的 - 在应用程序级别上的实现和集成。您的选择在很大程度上取决于您的要求和当前的设置。
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.
这篇关于全文搜索NoSQL数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!