我通过的Webbrowser火狐以下URI查询:弹性搜索:URI搜索是不准确的
http://localhost:9200/xyz-leads/lead/_search?q=datetimeHour:22_09_2015__12&&deliveryType:EMAIL
但我只能获得deliveryType点击:RVS,不EMAIL。
如果我搜索deliveryType:RVS,我会得到3个匹配。
我知道RVS总共有3个结果,EMAIL总共有0个日期时间总是小于0。
我猜ElasticSearch的标准行为是,它忽略第二个搜索值'deliveryType',并且只使用第一个'datetimeHour',如果两个都没有结果的话。
如果我搜索deliveryType:Email,那么我不想在响应中点击。
我是否需要设置一些额外的ElasticSearch参数?
https://www.elastic.co/guide/en/elasticsearch/reference/current/search-uri-request.html
_source: {
country: "DEU",
brand: "A",
leadGroup: "TEST",
leadID: 108798,
deliveryType: "RVS",
datetime: 1442916913000,
datetimeFormatted: "22.09.2015 12:15:13",
datetimeHour: "22_09_2015__12",
datetimeDay: "22_09_2015"
}