Hi, I want to use the Lucene spatial indexes and I’m following the instructions of this page (I’m using version 3.0.30). I have a class
lon properties of type double. I did:
CREATE INDEX loc_geo ON Loc(lat, lon) SPATIAL ENGINE LUCENE;
But when I want to query like this (from console or Studio):
SELECT FROM Loc WHERE [lat, lon] NEAR [-31.880276, -60.885071];
it throws a
java.lang.UnsupportedOperationException: NEAR operator cannot be evaluated in this context. In the server side it logs nothing.
What I’m doing wrong?