开发者

Does MongoDB support soundex or fuzzy matching?

D开发者_JAVA技巧oes MongoDB support soundex or fuzzy matching? I want to spot dupes of basic contact name and address fields. I'm using the official C# driver. Thanks


Mongodb doesn't support soundex matching, but it has Full Text Search.

Also,

You can always just store the soundex-encoded string in a separate field in mongo and search against that. Soundex is a really trivial algorithm and should only take a handful of lines.

-- from mongodb-user


MongoDB does not support real fulltext search and nothing like soundex (which is a very bad part for matching terms - something like Levensthein distance calculation is much better).

In addition look at my last comment here:

Full-text search in NoSQL databases

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜