Hi,

regarding to the new schema.xml provided in 7.x-1.0-rc3, and specially for the geohash data type, prefix type in service.inc should be 'geo' rather than 'geohash' (as dynamic fields base is 'geo' with s for single, m for multiple values). Otherwise, change dynamic fields prefix in schema.xml for this data type.

In that way, we could use SOLR-2155 add-on for solr 3.x, implementing hook_search_api_data_type_info() to provide 'geohash' data type which is a feature supported by the service class.

For other which are interested by using spatial search with mutiple values, don't forgot to change the field type definition of geohash in schema.xml as describe here.

Except this point, data seems to be indexed well and search result too, thanks !

CommentFileSizeAuthor
#1 geohash-prefix-1919572-1.patch322 byteschaby

Comments

chaby’s picture

StatusFileSize
new322 bytes

simple patch...

chaby’s picture

Status: Active » Needs review
drunken monkey’s picture

Status: Needs review » Fixed

Oops, you're right, thanks for spotting this!
Committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.