A question about Riak search 2 delete values from index

Kevin Chan riak.kevin at gmail.com
Tue Aug 26 18:30:10 EDT 2014


Hi there,

I am trying riak search 2, and have followed instructions on
http://docs.basho.com/riak/2.0.0/dev/using/search/
to create an index and query an index without any problems.

However, I could not delete values from the index by either i) using the
solr interface, or ii) search-cmd, I followed instructions on
http://docs.basho.com/riak/2.0.0/dev/references/search-indexing/

Could you please help?


The error from the solr interface is as follows:


curl -XPOST http://localhost:8098/solr/famous/update  -H
'content-type:text/xml' --data-binary @delete.xml

<HTML><HEAD><TITLE>404 Not Found</TITLE></HEAD><BODY><H1>Not Found</H1>The
requested document was not found on this
server.<P><HR><ADDRESS>mochiweb+webmachine web
server</ADDRESS></BODY></HTML>



The following is the error by search-cmd:

search-cmd show-schema famous
** The search-cmd tool is for a deprecated version of Riak Search.
** Please upgrade to the new version of Riak Search.

%% Schema for 'famous'
RPC to 'riak at 127.0.0.1' failed: {'EXIT',
                                 {noproc,
                                  {gen_server,call,
                                   [riak_search_config,
                                    {get_raw_schema,<<"famous">>},
                                    infinity]}}}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20140826/8950543a/attachment.html>


More information about the riak-users mailing list