I'm using Riak 1.0.2 with the LevelDB Backend.

I was trying to use the Search function e.g. curl
http://localhost:8098/solr/customers/select?q=first_name:john

However, from the online documentation, it says I have to enable indexing
for the bucket i.e. curl -X PUT -H "content-type:application/json"
http://localhost:8098/riak/demo2 --data @-
{"props":{"precommit":[{"mod":"riak_search_kv_hook","fun":"precommit"}]}}

My bucket already had data in it, mostly in the key:array format as opposed
to key:plaintext. I enabled the bucket for indexing using the curl call
above.

But now, I can't store data to the bucket anymore. Is there something I'm
doing wrong?




--
View this message in context: 
http://riak-users.197444.n3.nabble.com/Cant-load-data-after-enabling-indexing-on-bucket-with-precommit-hook-tp3686584p3686584.html
Sent from the Riak Users mailing list archive at Nabble.com.

_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to