Hi,
I have a float field that I want to use in a range facet. I give one range 
to the facet like the following query.

{
  "query": {
    "matchAll": {}
  },
  "facets": {
    "imageSize": {
      "range": {
        "field": "imageSize",
        "ranges": [
          {
            "from": 1.9
          }
        ]
      }
    }
  }
}

If I have a document with the value 1.9 it is not included in the results. 
If I change the from part to 1.89 however it is included. I am sure the 
type of the field is 1.9, checked it in the mapping.

Any ideas what is the problem?

thanks,
Jettro

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/85e04977-4378-48cb-a6c1-e0c3b71fbad4%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to