does it possible?

now I use flow:

curl -XPUT "http://localhost:8098/buckets/some_bucket/props";
-H'content-type: application/json'
-d'{"props":{"search_index":"_dont_index_", "search":false}}'
curl -XDELETE "http://localhost:8098/search/index/some_index";

curl -XPUT "http://localhost:8098/search/schema/some_schema";
-H'content-type:application/xml'  --data-binary @ some_schema.xml

curl -XPUT "http://localhost:8098/search/index/some_index";
-H'content-type:application/json' -d"{\"schema\":\"some_schema\"}"

curl -XPUT "http://localhosy:8098/buckets/some_bucket/props";
-H'content-type: application/json'
-d"{\"props\":{\"search_index\":\"some_index\"}}"



after that All indexed data removed, and I need resave all data.

It works when there is mid size bucket. but how I should update schema
in production when it have millions records.
_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to