lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Solr Wiki] Update of "SpatialSearch" by Bill Bell
Date Mon, 05 Sep 2011 17:17:23 GMT
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 Bill Bell:
http://wiki.apache.org/solr/SpatialSearch?action=diff&rev1=70&rev2=71

  
  As a temporary workaround for older Solr versions, it's possible to obtain distances by
using geodist or geofilt as the only scoring part of the main query.
  
+  . [[http://localhost:8983/solr/select?indent=true&fl=name,store&q=*:*&sfield=store&pt=45.15,-93.85&sort=score%20asc&q={!func}geodist()]]
+ 
+ 
  = Other Use Cases =
  == How to combine with a sub-query to expand results ==
  It is possible to filter by other criteria with an OR clause. Here is an example that says
return by Jacksonville, FL or within 50 km from 45.15,-93.85:

Mime
View raw message