"coding" it needs to return the certain string even I searched with "codng" or "cding" what algorithm can I use??
I need to search the string on mangodb
Search for "string distance". But I'm not sure how to integrate it in mongodb. Probably extra information should be kept, like table of known similar words, to not iterate over all documents each time.
Also you could try solr/elasticsearch
https://stackoverflow.com/questions/27977575/mongodb-approximate-string-matching
Обсуждают сегодня