I am using MongoDB via .Net.And I would like to make a autocomplete api. But I do not know how to match in one case. Let me explain it by giving example;
I wrote -- Results
"Ema" => "Email" , ""...
"Emasil" => "Email", ""...
"Emasil Li" => "Email List", ""...
"Emasil Lit" => "Email List", ""...
"Emasil Litk" => "Email List", ""...
as shown the above, even if I wrote it mistake, it gave me the results.This is what exactly I need.But I don't have any idea how to do this. Can you please show me a way to solve this problem?