elasticsearch/elasticsearch — Issue #1543: timestamp term match broken in 0.18.5
Author: dobe
Created: 2011-12-15 14:44:50+00:00
State: open

using a boolean query with a timestamp in a term, returns non-matching items.

the example below returns all items with searched domain and ANY "ts" value in 0.18.5. in 0.17.6 the "ts" field must match. we already tried it with integer and string fields instead of the timestamp field which works, so it seems this is timestamp related?

we also tried using a filtered query and filtering by "ts" which does not work either.

e.g:

```javascript
{
"query": {
"bool": {
"must": [
{
"term": {
"domains": "adidas.com"
}
},
{
"term": {
"ts": 1316995200000
}
}
]
}
},
"fields": "*"
}
```