Hi,

try this code (is a simple example):

 create class Spazio extends V 


 CREATE property Spazio.name string 

CREATE property Spazio.latitude double 

CREATE property Spazio.longitude double 


 insert into Spazio (latitude, longitude) values (32.783333,-79.916667) 

insert into Spazio (latitude, longitude) values (34.134333, 45.223145) 

insert into Spazio (latitude, longitude) values (39.456789, 43.234098) 


 CREATE INDEX Spazio.l_lon ON Spazio(latitude,longitude) SPATIAL ENGINE 
LUCENE 


 select from Spazio where [latitude,longitude,$spatial] NEAR 
[32.783333,-79.916667,{"maxDistance": 1000}]


have you got the same error?

regards,
Savio L.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to