【发布时间】:2016-02-05 22:42:05
【问题描述】:
我正在尝试在 elasticsearch 中映射一个多字段
- 第一个字段 - 'in' 应包含所有索引列,
- 第二个字段 - 'orig' 应按原样包含文本。
例如:
"findings": {
"type": "multi_field",
"fields": {
"in": {
"type": "string"
},
"orig": {
"type": "string",
"index":"not_analyzed"
}
}
一旦我创建它并查询它的外观。
当 index = 'no' 是否意味着该字段永远不会被索引?
"findings": {
"type": "string",
"index": "no",
"fields": {
"in": {
"type": "string"
},
"orig": {
"type": "string",
"index": "not_analyzed"
}
}
【问题讨论】:
标签: elasticsearch