1
比方说,我们有一个嵌套了参数领域具有严格的映射和具有以下结构范围的字符串作为整数
"parameters": {
"type": "nested",
"dynamic": "strict",
"properties": {
"kind": {
"type": "text",
"include_in_all": false
},
"label": {
"type": "text",
"include_in_all": false
},
"name": {
"type": "text",
"include_in_all": false
},
"option_id": {
"type": "text",
"include_in_all": false
},
"value": {
"type": "text",
"include_in_all": true
}
}
},
Value属性可以同时处理整数,浮点数和字符串值后指数。但是,现在我必须通过参数过滤帖子,值,特别是使用范围查询(parameters.value> $ needs_value)。我试图使用range query。根据documentationparameters.value将按字典顺序过滤。但我需要搜索整数。那么我能做些什么来达到我的针头。