Re: Delete Objects SOLR

2015-03-30 Thread Zeeshan Lakhani
On riak 2.0 with Yokozuna, you can delete search indexes (async) via http/pb, 
e.g. http://docs.basho.com/riak/latest/dev/references/http/delete-search-index/ 
. 
There is no issue with data base corruption when removing indexes or setting 
indexes to _dont_index_.

Thanks.

Zeeshan Lakhani
programmer | 
software engineer at @basho | 
org. member/founder of @papers_we_love | paperswelove.org
twitter => @zeeshanlakhani

> On Mar 30, 2015, at 3:39 PM, Jorge Garrido gomez  wrote:
> 
> Hello, 
> 
> On riak version 1.x when the search indexes are deleted then the data base is 
> corrupted, is the issue present on riak 2.x with YOKOZUNA and SOLR?
> 
> The question is because we want delete the objects indexed into Riak Search 
> 2.0
> 
> Thank you!
> Jorge Garrido 
> ___
> 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


Delete Objects SOLR

2015-03-30 Thread Jorge Garrido gomez
Hello, 

On riak version 1.x when the search indexes are deleted then the data base is 
corrupted, is the issue present on riak 2.x with YOKOZUNA and SOLR?

The question is because we want delete the objects indexed into Riak Search 2.0

Thank you!
Jorge Garrido 
___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


Re: How to refresh Riak's data

2015-03-30 Thread Alexander Sicular
If you're using leveldb youve modified your config file because the default
backend is bitcask. You also have to do a few config things to get Solr
working. So if you've done that and have been indexing things with Solr
then go ahead and delete that too. If thats what you want to do. I believe
that's the default leveldb path for some installations. Check the config
file.

-Alexander

On Monday, March 30, 2015, Alex De la rosa  wrote:

> cool, but only this one?
>
> /var/lib/riak/leveldb
>
> Is there anything else to delete for SOLR indexes, etc...?
>
> Thanks,
> Alex
>
> On Mon, Mar 30, 2015 at 4:14 PM, Alexander Sicular  > wrote:
>
>> Hi Alex,
>>
>> It basically works the same way. Shut down riak. Locate the data folder
>> and delete all the stuff in it.
>>
>> -Alexander
>>
>> @siculars
>> http://siculars.posthaven.com
>>
>> Sent from my iRotaryPhone
>>
>> > On Mar 30, 2015, at 04:41, Alex De la rosa > > wrote:
>> >
>> > Hi there,
>> >
>> > I have a 1-node riak 2.0.5 cluster for testing stuff on my laptop
>> (Ubuntu); how can I refresh the node without having to uninstall and
>> install it again?
>> >
>> > I remember in riak 0.14 there was a way to do it stopping the node,
>> deleting some folders and restarting the node back. How to do it for 2.0.5?
>> I'm using levelDB backend.
>> >
>> > Thanks!
>> > Alex
>> > ___
>> > 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


Re: How to refresh Riak's data

2015-03-30 Thread Alex De la rosa
cool, but only this one?

/var/lib/riak/leveldb

Is there anything else to delete for SOLR indexes, etc...?

Thanks,
Alex

On Mon, Mar 30, 2015 at 4:14 PM, Alexander Sicular 
wrote:

> Hi Alex,
>
> It basically works the same way. Shut down riak. Locate the data folder
> and delete all the stuff in it.
>
> -Alexander
>
> @siculars
> http://siculars.posthaven.com
>
> Sent from my iRotaryPhone
>
> > On Mar 30, 2015, at 04:41, Alex De la rosa 
> wrote:
> >
> > Hi there,
> >
> > I have a 1-node riak 2.0.5 cluster for testing stuff on my laptop
> (Ubuntu); how can I refresh the node without having to uninstall and
> install it again?
> >
> > I remember in riak 0.14 there was a way to do it stopping the node,
> deleting some folders and restarting the node back. How to do it for 2.0.5?
> I'm using levelDB backend.
> >
> > Thanks!
> > Alex
> > ___
> > 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


Re: How to refresh Riak's data

2015-03-30 Thread Alexander Sicular
Hi Alex,

It basically works the same way. Shut down riak. Locate the data folder and 
delete all the stuff in it. 

-Alexander 

@siculars
http://siculars.posthaven.com

Sent from my iRotaryPhone

> On Mar 30, 2015, at 04:41, Alex De la rosa  wrote:
> 
> Hi there,
> 
> I have a 1-node riak 2.0.5 cluster for testing stuff on my laptop (Ubuntu); 
> how can I refresh the node without having to uninstall and install it again?
> 
> I remember in riak 0.14 there was a way to do it stopping the node, deleting 
> some folders and restarting the node back. How to do it for 2.0.5? I'm using 
> levelDB backend.
> 
> Thanks!
> Alex
> ___
> 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


Packagecloud.io issue

2015-03-30 Thread Alex De la rosa
Hi there,

I want to report again a problem I have with packagecloud.io; everytime I
do "aptitude update" I get a hit as if a new version of Riak is available
(that is not)... and I have to re-install Riak to a version I already have.

I just did an "aptitude safe-upgrade" and upgraded Riak to version 2.0.5
(latest):

# aptitude safe-upgrade
The following packages will be upgraded:
  ... ... ... riak ... ... ... ... ... ...
[...]
Unpacking riak (2.0.5-1) over (2.0.1) ...
[...]

# riak version
2.0.5

# aptitude update
Hit https://packagecloud.io trusty InRelease
Hit https://packagecloud.io trusty/main Sources
Hit https://packagecloud.io trusty/main amd64 Packages
Hit https://packagecloud.io trusty/main i386 Packages

# aptitude safe-upgrade
The following packages will be upgraded:
  riak
1 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/55.4 MB of archives. After unpacking 0 B will be used.
Do you want to continue? [Y/n/?]

if i select Y i get the following:

Unpacking riak (2.0.5-1) over (2.0.5-1) ...

and everytime I check for updates, "riak" comes as requiring an update
although is not true. How to fix that? makes no sense it continues coming
as needing to be upgraded when is the same exact version.

Thanks,
Alex
___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


How to refresh Riak's data

2015-03-30 Thread Alex De la rosa
Hi there,

I have a 1-node riak 2.0.5 cluster for testing stuff on my laptop (Ubuntu);
how can I refresh the node without having to uninstall and install it again?

I remember in riak 0.14 there was a way to do it stopping the node,
deleting some folders and restarting the node back. How to do it for 2.0.5?
I'm using levelDB backend.

Thanks!
Alex
___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com