【发布时间】:2019-12-02 20:35:48
【问题描述】:
我似乎无法自动建议使用 ascii 折叠(即将重音转换为其 ascii 等效项)
<DataSearch
componentId="mainSearch"
dataField="_name"
categoryField="title"
className="search-bar"
queryFormat="and"
placeholder="Search for movies..."
iconPosition="left"
autosuggest={true}
filterLabel="search"
/>
映射
"_name": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
},
"ascii": {
"type": "text",
"analyzer": "autosuggest_analyzer"
},
"ascii2": {
"type": "text",
"analyzer": "ngram_analyzer"
}
}
},
【问题讨论】:
-
这个问题现在记录在这里github.com/appbaseio/reactivesearch/issues/1273谢谢
标签: elasticsearch reactivesearch