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] Trivial Update of "SpatialSearch" by YonikSeeley
Date Fri, 26 Nov 2010 15:51:07 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 YonikSeeley.
The comment on this change is: add note that geodist can take points as arguments.
http://wiki.apache.org/solr/SpatialSearch?action=diff&rev1=41&rev2=42

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

  
   . [[http://localhost:8983/solr/select?wt=json&indent=true&fl=name,store,score&q={!func}geodist()&sfield=store&pt=45.15,-93.85&sort=score+asc|...&q={!func}geodist()&sfield=store&pt=45.15,-93.85&sort=score
asc]]
  
+ The geodist function can have the points specified as function arguments, or can default
to looking at the '''pt''' and '''sfield''' global request parameters.
+ 
  == Returning the distance ==
  Returning distances (and any arbitrary function query value) is currently under development.
As a temporary workaround, it's possible to obtain distances by using geodist or geofilt as
the only scoring part of the main query.
  

Mime
View raw message