looking at http://wiki.apache.org/solr/SpatialSearchDev

I would think I could index a lat,lon pair into a GeoHashField (that
works) and then retrieve the field value to see the computed geohash.

however, that doesn't seem to work.  If I index:  21.4,33.5

The retrieved value is not a hash, but approximately the same lat,lon:
<str name="geos_test">21.40000001527369,33.4999998472631</str>

If I try to filter on a geohash, &fq=geos_test:sezcd*  that works, so
I guess the hash is stored internally.

What am I missing - how can I retrieve the hash?

-Peter

-- 
Peter M. Wolanin, Ph.D.      : Momentum Specialist,  Acquia. Inc.
peter.wola...@acquia.com : 781-313-8322

"Get a free, hosted Drupal 7 site: http://www.drupalgardens.com";

Reply via email to