lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
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:

  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:

View raw message