I have the following query:
{
"from" : 0, "size" : 100,
"sort" : [
{ "date" : {"order" : "desc"} }
],
"query": {
"filtered": {
"query": {
"match_all": {
}
},
"filter": {
"bool": {
"must": {
"term": {
"user": "' . $user_id . '"
}
},
"must_not": {
"range": {
"node": {
"from": 100,
"to": 100
}
}
}
}
}
}
}
}
When I run this query with user_id equal to 1, I get 97 results instead of
the expected 100 results. Are there some tests I can do to determine why
there's this small discrepancy?
Thank you.
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.