Full text search options for MongoDB setup

前端 未结 7 553
陌清茗
陌清茗 2020-12-23 15:03

We are planning to store millions of documents in MongoDB and full text search is very much required. I read Elasticsearch and Solr are the best available solutions for full

7条回答
  •  半阙折子戏
    2020-12-23 15:20

    There are some search capabilities in MongoDB but it is not as feature-rich as search engines.

    http://www.mongodb.org/display/DOCS/Full+Text+Search+in+Mongo

    We use Mongo with Solr to make content searchable. We prefer Solr because

    • It is easy to configure and customize
    • It has large community (This is really helpful if you are working with opensource tools)

    Since we didn't work with ES i could not say much about it. You can found some discussions about Solr vs ES on the links below.

    • Solr vs ES 1
    • Solr vs ES 2
    • Solr vs ES 3

提交回复
热议问题