MongoDB could not find "Mongo" in
The Mongo multikey feature can automatically index arrays of values
but it could find it in
tags: [ "values", "automatically", "Mongo" ]
--
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To view this discussion on the web visit https://groups.google.com/d/msg/mongodb-user/-/UXVhxEvoXEwJ.
To post to this group, send email to mongod...@googlegroups.com.
To unsubscribe from this group, send email to mongodb-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mongodb-user?hl=en.
MongoDB supports what is defined as 'full text search': http://www.mongodb.org/display/DOCS/Full+Text+Search+in+Mongo
It appears though that the text must be broken in to keywords for MongoDB to search it. For example:MongoDB could not find "Mongo" inThe Mongo multikey feature can automatically index arrays of valuesbut it could find it intags: [ "values", "automatically", "Mongo" ]I would hate to breakdown all of my text for true full text search. Is this the only way that MongoDB can find text, or is there another option?
Regexing will solve this problem.
I have found that both are relatively the same speed.
--
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
Well in terms of user performance my search performs well on Regexs and actually out performs in terms of usability since substring directly on an array element is not as effective.
Imagine you have a keyword entry of "gmail" and the user searches "gm". An array of keywords would still require that you regex to get that, or you just break up the keywords enough to find something in which case the keywords array becomes useless because the words cannot be put into a context which means you could get thousands of documents that are not even related to what your searching for.
--
Glenn Maynard
Doesn't the common FTS standard support substring search through the wildcard character (or similar) *? So that:
*gmail*
gmail*
*gmail
Are actually valid methods by which to perform FTS.
Glenn Maynard