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 Sun, 06 Feb 2011 05:33:58 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=51&rev2=52

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

  == How to boost closest results ==
  It is possible also boost the query by closest results by combining bq with geodist():
  
-  . [[http://localhost:8983/solr/select?fl=name,store,city,state&q=*:*&fq={!geofilt}&sfield=store&pt=45.15,-93.85&d=50&bq=_val_:"recip(geodist(),
2, 200, 20)"^1.0&sort=score%20desc|...&q=*:*&fq={!geofilt}&sfield=store&pt=45.15,-93.85&d=50&bq=_val_:"recip(geodist(),
2, 200, 20)"^1.0&sort=score desc]]
+  . [[http://localhost:8983/solr/select?fl=name,store,score&q=*:*&fq={!geofilt}&sfield=store&pt=45.15,-93.85&d=50&bq=_val_:"recip(geodist(),
2, 200, 20)"^1.0&sort=score%20desc|...&q=*:*&fq={!geofilt}&sfield=store&pt=45.15,-93.85&d=50&bq=_val_:"recip(geodist(),
2, 200, 20)"^1.0&sort=score desc]]
  
  
  = Advanced Spatial Options - Under Development =

Mime
View raw message