1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
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
Contenus pertinents
- demandé il y a 4 mois
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a un an