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 chrismattmann. The comment on this change is: provide information about the example.. http://wiki.apache.org/solr/SpatialSearch?action=diff&rev1=6&rev2=7 -------------------------------------------------- http://localhost:8983/solr/select/?q=_val_:"recip(dist(2, store, point(34.0232,-81.0664)),1,1,0)"&fl=*,score }}} + The above computes the [[http://wiki.apache.org/solr/FunctionQuery#dist|the Euclidean distance]] from the lat/lon pair (34.0232,-81.0664) to the store's lat/lon, asking SOLR to [[http://wiki.apache.org/solr/FunctionQuery#recip|invert the distance]] (take 1 / the distance) in order to make longer distances come later in the result list, and finally asking SOLR to return all fields, including the relevancy score. + = Data Representation = - One of the keys to data representation is the ability to represent points, etc. in multiple different ways. Some times, a user may want a [http://en.wikipedia.org/wiki/Geohash|Geohash] and other times they may want Cartesian tiers or just simple lat/lon. + One of the keys to data representation is the ability to represent points, etc. in multiple different ways. Some times, a user may want a [[http://en.wikipedia.org/wiki/Geohash|Geohash]] and other times they may want Cartesian tiers or just simple lat/lon. == Points ==
