Absolutely.  The most straight-forward approach is to use the default
query parser comprised of OR clauses of geofilt query parser based
clauses.  Another way to do it in Solr 4.7 that is probably faster is to
use WKT with the custom “buffer" extension:
myLocationRptField:"BUFFER(MULTIPOINT(x y, x y, x y, x y), d)
distErrPct=0" (whereas ‘d’ is distance in degrees, not km).

~ David

On 3/17/14, 9:28 AM, "Varun Gupta" <varun.vgu...@gmail.com> wrote:

>Hi,
>
>I am trying to find out if solr supports doing a spatial search on
>multiple
>location points. Basically, while querying solr, I will be giving multiple
>lat-long points and solr will be returning documents which are closer to
>any of the given points.
>
>If this is not possible, is there any way to make it work without hitting
>solr for each of the lat-long and then collating results.
>
>Thanks in advance.
>
>--
>Varun Gupta

Reply via email to