NoSQL 数据库中的全文搜索 [英] Full-text search in NoSQL databases

查看:19
本文介绍了NoSQL 数据库中的全文搜索的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

  • 这里有没有人有部署一个真正的在线系统的经验,该系统在任何 NoSQL 数据库中进行全文搜索?
  • 例如,MongoDB、Riak 和 CouchDB 中的全文搜索如何比较?
  • 我正在寻找的一些指标是易于部署和维护,当然还有速度.
  • 他们有多成熟?它们是否可以替代 Lucene 基础架构?

推荐答案

现有的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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆