Hi,

I'm trying to make SpatialSearch in my application working with Yokozuna.
(develop branch, hash 601560bf9ea0859e598957c13733fbbb0e656e17 of the 6th
september)

The json object looks like this:

{"where":{"latitude":7430019,"longitude":4210023,"geolocation_p":"7.430019,4.210023"},"timestamp":"2013-09-08T01:10:07.752Z"}

since there is already a dynamic field for *_p defined.

But the query:
http://127.0.0.1:8093/solr/my-index/select?q=*:*&fq={!geofilt}&spatial=true&pt=7.430019%2C4.210023&sfield=where_geolocation_p&d=1

returns the error:
can not use FieldCache on multivalued field:
where_geolocation_p_0_coordinate


Looking at this:
http://stackoverflow.com/questions/7068605/solr-spatial-search-can-not-use-fieldcache-on-multivalued-field

it seems the problem is the missing parameter and the dynamic field
declaration for *_coordinates in the configuration file.

Is this the cause of the problem?

The _yz_default.xml files in the data directory seems overwritten every
time riak is restarted, is there a way to customize the solr configuration
per bucket?


Thanks in advance,
Vincenzo.


--
If your e-mail inbox is out of control, check out http://sanebox.com/t/mmzve.
I love it.
_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to