Text search (SERVER-380) is one of the most requested features for MongoDB 10gen is working on an experimental text-search feature, to be released in v2.4, and we’re already seeing some talk in the community about the native implementatio
text search (server-380) is one of the most requested features for mongodb 10gen is working on an experimental text-search feature, to be released in v2.4, and we’re already seeing some talk in the community about the native implementation within the server. we view this as an important step towards fulfilling a community need.?
mongodb text search is still in its infancy and we encourage you to try it out on your datasets. many applications use both mongodb and solr/lucene, but realize that there is still a feature gap. for some applications, the basic text search that we are introducing may be sufficient. as you get to know text search, you can determine when mongodb has crossed the threshold for what you need.
You can configure text search in the mongo shell:
db.adminCommand( { setParameter : 1, textSearchEnabled : true } )
Or set a command:
mongod --setParameter textSearchEnabled=true
?
In this example, we will insert 3 documents into a collection, add in text indexes and then query for the word “Australian”.?
We’ll be organizing a series of project nights through the MongoDB User Group network for anyone interested to come and try out the feature and provide feedback. Here are a list of the upcoming testing sessions:
If you’re interested in organizing a project night for text search get in touch with the community team who can help you get set up. All you need is some computers and a few data sets and you’ll be ready to test.
原文地址:MongoDB Text Search: Experimental Feature in Mongo, 感谢原作者分享。
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号