Inconsistence result of Auto Complete of azure cognitive search
User
0
Reputation points
Hi Team, I am using cognitive search auto complete REST API, But every time the auto complete response is different(Inconsistence) for same auto complete search keyword.
API : [https://endpoint/indexes/indexname/autocomplete?api-version=2020-06-30-Preview&speller=lexicon&queryLanguage=en-US&autocompleteMode=twoTerms&suggesterName=suggester&search=sear
Mapping for the Field :
{
"name": "field1",
"type": "Edm.String",
"searchable": true,
"filterable": false,
"retrievable": true,
"sortable": false,
"facetable": true,
"key": false,
"indexAnalyzer": null,
"searchAnalyzer": null,
"analyzer": "en.lucene",
"normalizer": null,
"synonymMaps": []
}
Index Configuration for Auto complete:
"suggesters": [
{
"name": "suggester",
"searchMode": "analyzingInfixMatching",
"sourceFields": [
"field1",
"field2",
"field3"
]
}
]
Every time I am getting different response for auto complete API with same search keyword. Could anyone suggest.
Thanks in Advance.
Azure AI Search
Azure AI Search
An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.
1,355 questions
Sign in to answer