Using Lucene's Multi Dimensional Space Search for Air traffic handling.

2016-08-16 Thread Janaka Thilakarathna
Hi everyone, I am from University of Moratuwa. I have a quite understanding in Lucene's Text Search, Geo3DPoint , LatLonPoint

Re: Using Lucene's Multi Dimensional Space Search for Air traffic handling.

2016-08-16 Thread Michael McCandless
What a fun use case for dimensional points! I just saw NASA announce this data set recently: https://plus.google.com/+MichaelMcCandless/posts/ h8eUtkhizKG And I was wondering how to play with it... 36 TB of airplane flight routes :) You can easily index your data (3 spatial dims + 1 time dim) us

Re: Using Lucene's Multi Dimensional Space Search for Air traffic handling.

2016-08-21 Thread Janaka Thilakarathna
Hi Michael, I started playing with Lucene LatLon and Geo3D points. I have a problem about the constructor of Geo3DPoint. In the other constructor, Geo3DPoint(String name, double x, double y, double z)

Re: Using Lucene's Multi Dimensional Space Search for Air traffic handling.

2016-08-22 Thread Michael McCandless
Hi Janaka, Unfortunately, Geo3D does not in fact search three dimensions: it only handles the same 2D earth surface as lat/lon. It's just that, internally, it's using three x,y,z coordinates to do all its math. But those three coordinates must be on the earth's surface for the math to be correct

Re: Using Lucene's Multi Dimensional Space Search for Air traffic handling.

2016-08-24 Thread Janaka Thilakarathna
Hi Michael, I am kinda confused about the difference between LatLon and Geo3D points. Since, Geo3D does not in fact search 3 dimensions, what is the use of it over LatLonPoint. Why there are two Fields as LatLon and Geo3D if both do the Planet Surface search ? Regards, Janaka On Mon, Aug 22, 201

Re: Using Lucene's Multi Dimensional Space Search for Air traffic handling.

2016-08-25 Thread Michael McCandless
Geo3D uses more "straightforward" math since it can do everything on a unit (well, slightly squashed) sphere, but the downside is it must store 3 floats in the doc values. Whereas LatLonPoint must use Haversine, supposedly more costly, except Lucene has a rather optimized implementation, and in pr

Re: Using Lucene's Multi Dimensional Space Search for Air traffic handling.

2016-08-26 Thread Janaka Thilakarathna
Hi Michael, Got it. :) Thank you very much for the reply. Janaka On Thu, Aug 25, 2016 at 9:22 PM, Michael McCandless < luc...@mikemccandless.com> wrote: > Geo3D uses more "straightforward" math since it can do everything on a > unit (well, slightly squashed) sphere, but the downside is it must