I got it working with this change to the default conf: https://github.com/basho/yokozuna/pull/169
Before doing this, I first tried creating my own schema but put was hanging. V. On Sun, Sep 8, 2013 at 3:56 AM, Vincenzo Vitale <vincenzo.vit...@gmail.com>wrote: > 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<http://127.0.0.1:8093/solr/my-index/select?q=*:*&fq=%7B!geofilt%7D&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. > -- 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