Hi Alessandro. I can't think of any good reason anyone would use the geohash field type that is a part of Solr today. If you are shocked I would say that, keep in mind the work I've done with geohashes is an extension of what's in Solr, it's not what's in Solr today. Recently I ported SOLR-2155 to Solr 3x, and in a way that does NOT require that you patch Solr. I attached it to the issue just now.
~ David Smiley On Sep 29, 2011, at 9:37 AM, Alessandro Benedetti wrote: > Hi all, > I have already read the topics in the mailing list that are regarding > spatial search, but I haven't found an answer ... > I have to index a multivalued field of type : "geohash" via solrj. > Now I build a string with the lat and lon comma separated ( like > 54.569468,67.58494 ) and index it in the geohash field. > The indexing process seems to work , but when I try a spatial search, Solr > returns me an exception with fieldcache on multivalued field. > > I'm using Lucid Work enterprise 1.8 , and , as I know , it should be > integrated with this patch ( > https://issues.apache.org/jira/browse/SOLR-2155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12994256#comment-12994256 > ). > > Am I indexing wrong? Am I missing something? > The type of my spatial field is geohash ... > > Cheers > > -- > ------------------------------- > Alessandro Benedetti > > Sourcesense - making sense of Open Source: http://www.sourcesense.com