Hi Kevin, The top of the document you reference has this disclaimer:
"This document refers to the now deprecated Riak Search." Please use this document as a reference (you link to it earlier in your email): http://docs.basho.com/riak/2.0.0/dev/using/search/ Finally, if you inserted objects using Riak's Key/Value operations, you should delete them that way as well. Have you tried that? -- Luke Bakken CSE lbak...@basho.com On Tue, Aug 26, 2014 at 3:30 PM, Kevin Chan <riak.ke...@gmail.com> wrote: > 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@127.0.0.1' failed: {'EXIT', > {noproc, > {gen_server,call, > [riak_search_config, > {get_raw_schema,<<"famous">>}, > infinity]}}} > > _______________________________________________ > riak-users mailing list > riak-users@lists.basho.com > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com > _______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com