Hello Michela,

I am trying to get areas NEAR a particular latitude and longitude. Not any 
area with exactly the same latitude and longitude.

The issue I am experiencing in short is

select * from BBB where [lat,lon] near [lat-value,lon-value]
doesnt work.

Where as
select * from BBB where [lat,lon,$spatial] near [lat-value,lon-value
,{"maxDistance":distance-in-km}]
works.

I wrote the query exactly as in documentation: 
https://github.com/orientechnologies/orientdb-lucene/wiki/Spatial-Index

Why doesn't the 1st query work?

-- 

--- 
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