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

0

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

profile picture
전문가
질문됨 5달 전38회 조회
1개 답변
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
전문가
답변함 5달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인