Riak Search 2.0 Questions

Luke Bakken lbakken at basho.com
Thu Jul 24 16:30:22 EDT 2014


Hi Andrew -

I tested index deletion locally and you can do so with the following HTTP
command:

curl -XDELETE 'http://riak-host:8098/search/index/index-to-delete'

You can see the result from my local devrel here:

$ ll dev1/data/yz
total 8
drwxr-xr-x   4 lbakken  staff  136 Jul 24 10:28 .
drwxr-xr-x  11 lbakken  staff  374 Jul 24 09:41 ..
-rw-r--r--   1 lbakken  staff  275 Jul 24 09:40 solr.xml
drwxr-xr-x   5 lbakken  staff  170 Jul 24 10:28 tweets-idx
lbakken ~/Projects/basho/riak/dev (2.0=)
$ curl -XDELETE 'http://localhost:10018/search/index/tweets-idx'
lbakken ~/Projects/basho/riak/dev (2.0=)
$ ll dev*/data/yz
dev1/data/yz:
total 8
drwxr-xr-x   3 lbakken  staff  102 Jul 24 13:29 .
drwxr-xr-x  11 lbakken  staff  374 Jul 24 09:41 ..
-rw-r--r--   1 lbakken  staff  275 Jul 24 09:40 solr.xml

dev2/data/yz:
total 8
drwxr-xr-x   3 lbakken  staff  102 Jul 24 13:29 .
drwxr-xr-x  11 lbakken  staff  374 Jul 24 09:42 ..
-rw-r--r--   1 lbakken  staff  275 Jul 24 09:40 solr.xml

dev3/data/yz:
total 8
drwxr-xr-x   3 lbakken  staff  102 Jul 24 13:29 .
drwxr-xr-x  11 lbakken  staff  374 Jul 24 09:44 ..
-rw-r--r--   1 lbakken  staff  275 Jul 24 09:40 solr.xml

--
Luke Bakken
CSE
lbakken at basho.com


On Thu, Jul 24, 2014 at 12:41 PM, Andrew Zeneski <andrew at andrewzeneski.com>
wrote:
> Ryan,
>
> Thank you very much for the detailed explanation! How do you delete an
> index? Can I just remove it from the data directory or is that a bad
idea? I
> think the reload command you provide is what I need right now.
>
> Thanks again!
>
> Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20140724/6680a38f/attachment.html>


More information about the riak-users mailing list