Roy, How fast/slow this is is dependent on the total number of points in documents that match the search results. If one of those documents has 1000 points but most have a handful then it isn't such a big deal. The bigger problem is: https://issues.apache.org/jira/browse/LUCENE-4698
~ David On 8/14/13 6:45 AM, "roySolr" <royrutten1...@gmail.com> wrote: >Hello, > >I have a question about performance with a lot of points and spatial >search. >First i will explain my situation: > >We have some products data and want to store every geo location of stores >that sells this product. >I use a multivalued coordinates field with the geo data: > ><arr name="store_coordinates"> > <str>lat,long</str> > <str>lat,long</str> > <str>lat,long</str> > <str>lat,long</str> > <str>lat,long</str> ></arr> > >The config: > >*<field name="store_coordinates" type="location_rpt" indexed="true" >stored="true" multiValued="true"/> > ><fieldType name="location_rpt" >class="solr.SpatialRecursivePrefixTreeFieldType" distErrPct="0.025" >maxDistErr="0.000009" units="degrees"/>* > >When i search for a product term i want only the products that are nearby >the given location. So i used to following query: > >fq=_query_:"{!geofilt sfield=store_coordinates pt=locatonlat,locationlong >d=25}" > >It works great but my question is: Will it work quick and smooth with >+1000 >stores in my store_coordinates field? > >Any help is appreciated >Thanks, > >Roy > > > >-- >View this message in context: >http://lucene.472066.n3.nabble.com/SOLR4-Spatial-sorting-and-query-string- >tp4084318p4084521.html >Sent from the Solr - User mailing list archive at Nabble.com.