1 Answer
- Newest
- Most votes
- Most comments
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
Relevant content
- asked a year ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago