Hey there!
I have a function_score query and i try to get only documents with a ttl 
greater than or equals a specific value.
But it seems that the query doesnt work. I dont get the expected results.

GET index1/_search
{
   "query": {
      "function_score": {
          "filter":{
              "bool": {
                  "must": [
                     {
                         "range": {
                            "_ttl": {
                                "gte" : 87105050
                            }
                         }
                     }
                  ]
              }
          }
      }
   }
}

In my results there are documents which have a ttl lower then 87105050. How 
can this happen?

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/6cf09a91-7b0e-48cc-8d82-cf8726c1f63f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to