Multiple locations withing a document for geo queries

Hi All,
I have a question regarding how to use elastic search for my purpose
I am building a carpooling app

  1. So when some1 wants to post a ride shall index all lat long in the path
    or approximatly all important lat longs.
  2. So now i have rides document with a list of location points
  3. Will i be able to a geo distance search on th elist of lat longs to
    match any of the latlongs find the closest one it matches to ?

Cheers,
Akash A

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Hey,

I do not think that 'indexing all the lat/longs" of a route is a good idea,
if your system should scale (and have a working search). Having the
important ones such as start/stop/via points should be sufficient.

Regarding point 3, please look at

there is also the new geo hash cell filter in 0.90, geoshape
queries/filters a geo bounding box filter. Summed up: Plenty of stuff to
play around with and see if it works for you.

--Alex

On Sun, Jul 14, 2013 at 4:47 AM, Akash Ashok thehellmaker@gmail.com wrote:

Hi All,
I have a question regarding how to use Elasticsearch for my purpose
I am building a carpooling app

  1. So when some1 wants to post a ride shall index all lat long in the
    path or approximatly all important lat longs.
  2. So now i have rides document with a list of location points
  3. Will i be able to a geo distance search on th elist of lat longs to
    match any of the latlongs find the closest one it matches to ?

Cheers,
Akash A

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.