How to perform fuzzy seach in community edition?

Hey,

Hey,

Is it possible to use the community server to execute a fuzzy search? That is, as far as I am aware, only featured in atlas. Is there a way to do it with an aggregate or a function…?

I only want to utilize a mongo query for the fuzzy search not for example elasticsearch

1 Like

Hi @fbenab and welcome in the MongoDB Community :muscle: !

Fuzzy search needs a Full Text Search index and this feature just doesn’t exist in the MongoDB Community edition. To make Atlas Search, we actually use Lucene in the background and synchronize the data automatically for you transparently.

You can use the $text index in the community edition which is a very limited feature compared to Lucene, but that’s as far as it goes.

Atlas Search is available also for the M0 Free Tier Clusters in Atlas - give it a try? :slight_smile:

Cheers,
Maxime.

1 Like