OrientDB Lucene "within" 边界框搜索
OrientDB Lucene "within" bounding box search
我在我的数据库上使用 OrientDB Lucene 空间索引,希望使用边界框搜索,但我想知道 within
参数如何工作?
例如来自 Lucene OrientDB
select * from Places where [latitude,longitude] WITHIN [[51.507222,-0.1275],[55.507222,-0.1275]]
它如何计算这 2 个 latlng 参数内的边界框?当它们具有相同的经度时。
请指教,谢谢
我在我的数据库上使用 OrientDB Lucene 空间索引,希望使用边界框搜索,但我想知道 within
参数如何工作?
例如来自 Lucene OrientDB
select * from Places where [latitude,longitude] WITHIN [[51.507222,-0.1275],[55.507222,-0.1275]]
它如何计算这 2 个 latlng 参数内的边界框?当它们具有相同的经度时。
请指教,谢谢