Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change 
notification.

The "SpatialSearch" page has been changed by GrantIngersoll.
http://wiki.apache.org/solr/SpatialSearch?action=diff&rev1=15&rev2=16

--------------------------------------------------

  There are several different ways to filter in spatial search:
  
   1. By Range Query, as in {{{fq=lat:[-23.0 TO -79.5] AND lon:[56.3 TO 
60.3]}}} -- Already implemented
-  1. By the Spatial Filter QParser (!SpatialQParser)  - See 
https://issues.apache.org/jira/browse/SOLR-1568 - as in {!sfilt 
fl=location}&pt=49.32,-79.0&dist=20
+  1. By the Spatial Filter QParser (!SpatialQParser)  - e.g. {!sfilt 
fl=location}&pt=49.32,-79.0&d=20
   1. Using the "frange" QParser, as in {{{fq={!frange l=0 u=400}hsin(0.57, 
-1.3, lat_rad, lon_rad, 3963.205)}}}
  
  In practice, for those using Solr's field types above, the Spatial Filter 
!QParser will automatically make the correct decision about how best to filter. 
 If an application needs a specific type of filtering for performance or other 
needs, the best bet is to extend the !FieldType in question with your own 
needs. 
+ 
+ == Spatial Filter QParser ==
+ 
+ See https://issues.apache.org/jira/browse/SOLR-1568.
+ 
+ The following parameters are supported:
+ 
  
  = Sorting =
  https://issues.apache.org/jira/browse/SOLR-1297 added the ability to sort by 
function, so sorting by distance is now simply a matter of sorting using the 
appropriate distance function, just like boosting.

Reply via email to