Ok, thanks for your answer! That's what I thought but just wanted to be sure.
Best regards, Elisabeth 2016-05-21 2:02 GMT+02:00 Erick Erickson <erickerick...@gmail.com>: > Gosh, I'm not even sure how to start to form such a query. > > Let's see, you have StreetB in some city identified by postal code P. > > Is what you're wanting "return me all pairs of documents within that > postal code that have all the terms matching and the polygons enclosing > those streets plus some distance intersect"? > > Seems difficult..... > > Best, > Erick > > On Thu, May 19, 2016 at 8:35 AM, elisabeth benoit > <elisaelisael...@gmail.com> wrote: > > Hello all, > > > > I was wondering if there was a solr solution for a problem I have (and > I'm > > not the only one I guess) > > > > We use solr as a search engine for addresses. We sometimes have requests > > with let's say for instance > > > > street A close to street B City postcode > > > > I was wondering if some kind of join between two documents is possible in > > solr? > > > > The query would be: find union of two documents matching all words in > query. > > > > Those documents have a latitude and a longitude, and we would fix a max > > distance between two documents to be eligible for a join. > > > > Is there a way to do this? > > > > Best regards, > > Elisabeth >