I do not seem to be able to get autosuggest to work with ascii folding (i.e. convert accents to their ascii equivalents)
<DataSearch
componentId="mainSearch"
dataField="_name"
categoryField="title"
className="search-bar"
queryFormat="and"
placeholder="Search for movies..."
iconPosition="left"
autosuggest={true}
filterLabel="search"
/>
Mapping
"_name": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
},
"ascii": {
"type": "text",
"analyzer": "autosuggest_analyzer"
},
"ascii2": {
"type": "text",
"analyzer": "ngram_analyzer"
}
}
},