How to query a RANGE operator with decimal values?

May 12, 2012 at 6:02 PM


I am trying to do a simple geo search using longitude and latitude managed properties of type decimal.


=> works fine, but


=> only returns Your query is malformed. Please rephrase your query.

According to this blogpost it should work in FQL in general

AND("steak restaurants", latitude:range(33.784141,33.757437), longitude:range(-84.392273,-84.394615))

Is the syntax from for FQL or is it due to this searchbox?

May 12, 2012 at 6:07 PM


I got it.

If either min or max is decimal.. then the other value needs to be decimal too ;-)

fql:AND( latitude:range(6.1,10.1), longitude:range(48.1,52.1)) => works

fql:AND( latitude:range(6,10.1), longitude:range(48,52.1)) => does not ;-)