我使用弹性搜索词方面,我的字段包含一些负值,但小无视以下的负号Elasticsearch长期方面没有表现出消极方面
是小查询
http://myserver.com:9200/index/type/_search
GET/POST体
{
"facets" : {
"school.id" : {
"terms" : {
"field" : "school.id",
"size" : 10
}
}
}
}
响应
{
"took": 281,
"timed_out": false,
"_shards": {
"total": 5,
"successful": 5,
"failed": 0
},
"facets": {
"school.id": {
"_type": "terms",
"missing": 302,
"total": 4390,
"other": 0,
"terms": [
{
"term": "1113515007867355135",
"count": 4390
}
]
}
}
}
ID的实际值是-1113515007867355135,我是不是做错了什么或者我需要通过什么包括负号(所产生的问题)?
张贴在elasticsearch group https://groups.google.com/forum/#!topic/elasticsearch/FeObbeT1eok – mtariq 2013-03-26 18:09:31