在 AWS Elasticsearch 中将字段存储而不对其进行索引的选项

0

【以下的问题经过翻译处理】 客户想要指定哪些文档字段应被索引或可搜索,哪些可被忽略。这似乎可以通过这里描述的“enabled”属性,使用 Elasticsearch上的映射功能来实现: https://www.elastic.co/guide/en/elasticsearch/reference/6.0/enabled.html。请问,Amazon Elasticsearch服务中是否有类似功能选项? 注意:我尝试使用“_mappings”选项,但当使用“enabled”时收到了不支持该属性的错误消息。

profile picture
ESPECIALISTA
feita há 5 meses38 visualizações
1 Resposta
0

【以下的回答经过翻译处理】 “不建立索引”字段的映射在这里:https://www.elastic.co/guide/en/elasticsearch/reference/6.0/text.html

或者您可以使用字段类型“keyword”,该类型通常用于电子邮件、邮政编码或单词字段。https://www.elastic.co/guide/en/elasticsearch/reference/6.0/keyword.html

profile picture
ESPECIALISTA
respondido há 5 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas