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 Sun, 06 Feb 2011 04:44:21 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.


  == 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 City, State or distance:
-  . [[http://localhost:8983/solr/select?wt=json&indent=true&fl=name,store&q=*:*&fq=(state:%22fl%22%20AND%20city:%22Jacksonville%22)%20OR%200_query_:{!geofilt}&sfield=store&pt=45.15,-93.85&d=50&sort=geodist()%20asc|...&q=*:*&fq=(state:%22fl%22%20AND%20city:%22Jacksonville%22)%20OR%200_query_:{!geofilt}&sfield=store&pt=45.15,-93.85&d=50&sort=geodist()
+  . [[http://localhost:8983/solr/select?wt=json&indent=true&fl=name,store&q=*:*&(state:"fl"
AND city:"Jacksonville") OR _query_:"{!geofilt}"&sfield=store&pt=45.15,-93.85&d=50&sort=geodist()%20asc|...&q=*:*&(state:"fl"
AND city:"Jacksonville") OR _query_:"{!geofilt}"&sfield=store&pt=45.15,-93.85&d=50&sort=geodist()
  = Advanced Spatial Options - Under Development =

View raw message