I have an existed schema and I want to add one column in it, such as
<field name="problem_id"   type="string"  indexed="true" stored="true" />


What's the steps to update it?

Since there is the search_index related to the schema and a bucket type
related to the search_index.

I tried to update the schema by the following commands:

{ok, SchemaData} = file:read_file("cartoons.xml"),
riakc_pb_socket:create_search_schema(Pid, <<"cartoons">>, SchemaData).


However, I can not search the object with new field.

Thanks in advance.

Regards,
-- 
Zhenguo Yang
www.prinbit.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