I have this query
{
$search: {
index: 'autocomplete',
autocomplete: {
query: args.searchText,
path: 'title',
tokenOrder: 'sequential',
fuzzy: {
maxEdits: 2,
},
},
},
},
This index
{
"mappings": {
"dynamic": false,
"fields": {
"title": [
{
"foldDiacritics": false,
"maxGrams": 7,
"minGrams": 3,
"tokenization": "edgeGram",
"type": "autocomplete"
}
]
}
}
}
Getting this result… I would think salesforce would be first? Any idea what setting I can tinker with?