A question about Riak search 2 delete values from index

Luke Bakken lbakken at basho.com
Tue Aug 26 18:44:06 EDT 2014


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
lbakken at basho.com


On Tue, Aug 26, 2014 at 3:30 PM, Kevin Chan <riak.kevin at 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 at 127.0.0.1' failed: {'EXIT',
>                                  {noproc,
>                                   {gen_server,call,
>                                    [riak_search_config,
>                                     {get_raw_schema,<<"famous">>},
>                                     infinity]}}}
>
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>




More information about the riak-users mailing list