I would like to do both wildcard and fuzzy search for a text in one call to Atlas cluster. Is there an example I can follow to do it?
This is something I tried:
{
index: 'test',
"compound": {
"must":[
{
"wildcard": {
"query": "blo*",
"path": "Text",
allowAnalyzedField: true
}
},
{
text: {
query: "blo",
path: "Text",
fuzzy: {'maxEdits':2.0}
}
}
]
}
}
Thank you,
Supriya