The error suggests that you need to modify your search index to ensure that ProfileName is of typeAutocomplete. Could you share your index definition and the full C# query code rather than a picture?
I fixed this problem by changing the default index using the following JSON:
{
“mappings”: {
“dynamic”: false,
“fields”: {
“ProfileName”: {
“foldDiacritics”: false,
“maxGrams”: 8,
“minGrams”: 3,
“type”: “autocomplete”
}
}
}
}
Now im trying to use sort by textScore and use fuzzy, how do i use fuzzy on autocomplete or regex?