1 個回答
- 最新
- 最多得票
- 最多評論
0
The mapping to not "index" the filed is here: https://www.elastic.co/guide/en/elasticsearch/reference/6.0/text.html
PUT my_index
{
"mappings": {
"my_type": {
"properties": {
"full_name": {
"type": "text",
"index": false
}
}
}
}
}
Or you can use the field type "keyword" that is normally used for e-mail, zip code or single word fields. https://www.elastic.co/guide/en/elasticsearch/reference/6.0/keyword.html
相關內容
- 已提問 6 個月前
- 已提問 1 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 2 年前