Re: Riak Search 2.0 - CRDT Sets within Maps not returned in search results

2016-01-27 Thread Zeeshan Lakhani
Yep, it was changed in latest versions of 2.0 and 2.1. Zeeshan Lakhani programmer | software engineer at @basho | org. member/founder of @papers_we_love | paperswelove.org twitter => @zeeshanlakhani > On Jan 27, 2016, at 3:19 PM, Weixi Yen wrote: > > Just FYI, I'm actually running 2.1.0 vers

Re: Riak Search 2.0 - CRDT Sets within Maps not returned in search results

2016-01-27 Thread Weixi Yen
Just FYI, I'm actually running 2.1.0 version of Riak KV and the default schema is showing stored=false. *2.1.0-0-g6e88b24* to be specific on ubuntu. On OSX it's the same issue as well for 2.1.1 http://s3.amazonaws.com/downloads.basho.com/riak/2.1/2.1.1/osx/10.8/riak-2.1.1-OSX-x86_64.tar.gz It se

Re: Riak Search 2.0 - CRDT Sets within Maps not returned in search results

2016-01-27 Thread Weixi Yen
Awesome, that's what I was looking for, thank you! On Wed, Jan 27, 2016 at 11:40 AM, Zeeshan Lakhani wrote: > Weixi, > > Are you using 2.0.0 or another 2.0.* version? > > If you look at > https://github.com/basho/yokozuna/blob/2.0.0/priv/default_schema.xml#L104, > sets are not stored in the defa

Re: Riak Search 2.0 - CRDT Sets within Maps not returned in search results

2016-01-27 Thread Zeeshan Lakhani
Weixi, Are you using 2.0.0 or another 2.0.* version? If you look at https://github.com/basho/yokozuna/blob/2.0.0/priv/default_schema.xml#L104 , sets are not stored in the default schema, as they can get large. They’re

Riak Search 2.0 - CRDT Sets within Maps not returned in search results

2016-01-27 Thread Weixi Yen
I have a CRDT Map bucket that I'm running searches on in Yokozuna (using _yz_default index for now) However, the search results do not return any fields of the map that are CRDT sets. Is this intended behavior? Thanks in advance! ___ riak-users mailing

Re: How to deal with 1 second indexing requirement in Riak Search 2.0

2015-09-05 Thread Hao
I actually start to wonder even using key/value (email_address as the key) to query the record(during registration), will it be still possibility that the two request is too close(client fired 2 sequential requests) and the second will still find no registration of the user because the 1st requ

Re: How to deal with 1 second indexing requirement in Riak Search 2.0

2015-09-04 Thread Dmitri Zagidulin
I second what Luke said. Definitely use Key/Value operations for this case (the users-by-email bucket), which is a One-to-One relationship. Don't use Search or Secondary Indexes. On Fri, Sep 4, 2015 at 9:18 AM, Luke Bakken wrote: > Use another bucket, keyed by email, with the users generated ID

Re: How to deal with 1 second indexing requirement in Riak Search 2.0

2015-09-04 Thread Luke Bakken
Use another bucket, keyed by email, with the users generated ID as the value: Bucket/key: buckets/users-by-email/bob.bar...@gmail.com Value: Riak generated ID There are, I am sure, race conditions and eventual consistency issues to keep in mind, but it's good to remember that you can use key/valu

Re: How to deal with 1 second indexing requirement in Riak Search 2.0

2015-09-04 Thread Roland Karlsson
You have secondary index and Riak Search http://docs.basho.com/riak/latest/dev/using/2i/ http://docs.basho.com/riak/latest/dev/using/search/ On 2015-09-04 12:04, Hao wrote: Take registration for example, within 1 second, how could I find out the same user already registered in the database? Su

How to deal with 1 second indexing requirement in Riak Search 2.0

2015-09-04 Thread Hao
Take registration for example, within 1 second, how could I find out the same user already registered in the database? Suppose the email address is the ID but is not the key. KEY is generated guid. (I have been suggested to use the email address as the key. But it's a big change. I just want t

Re: Riak Search 2.0 & Tagging

2015-06-02 Thread Antonio Teixeira
s can be done via http: >> https://github.com/basho/yokozuna/blob/5868266b11f131d14c85495e50f899f3fe8158ba/riak_test/yokozuna_essential.erl#L281 >> . >> >> Thanks. >> >> Zeeshan Lakhani >> programmer | >> software engineer at @basho | >> org.

Re: Riak Search 2.0 & Tagging

2015-04-07 Thread Zeeshan Lakhani
ithub.com/basho/yokozuna/blob/5868266b11f131d14c85495e50f899f3fe8158ba/riak_test/yokozuna_essential.erl#L281>. > > Thanks. > > Zeeshan Lakhani > programmer | > software engineer at @basho | > org. member/founder of @papers_we_love | paperswelove.org > <http://pa

Re: Riak Search 2.0 & Tagging

2015-04-02 Thread Zeeshan Lakhani
.org twitter => @zeeshanlakhani > On Apr 2, 2015, at 5:24 AM, Antonio Teixeira wrote: > > I've been using Riak as my main database for a few months, now I've been > experimenting with Riak Search 2.0 and for what I read in your documentation > there is no way to insert a

Riak Search 2.0 & Tagging

2015-04-02 Thread Antonio Teixeira
Hello, I've been using Riak as my main database for a few months, now I've been experimenting with Riak Search 2.0 and for what I read in your documentation there is no way to insert a object and tag it in the same operation. Right now we have an opaque object and we query them through

Re: Riak Search 2.0 Questions

2014-07-24 Thread Luke Bakken
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-x

Re: Riak Search 2.0 Questions

2014-07-24 Thread Andrew Zeneski
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 On Thu, Jul 24, 2014 at 12:58 PM, Ryan Zezeski wrote:

Re: Riak Search 2.0 Questions

2014-07-24 Thread Ryan Zezeski
On Jul 24, 2014, at 12:29 PM, Andrew Zeneski wrote: > Been checking out 2.0rc1 and am really excited about the new features (as I > think most of us are). I had a couple of questions that I couldn't find > answers to scanning the docs. Totally possible I missed it and if so, please > feel fre

Riak Search 2.0 Questions

2014-07-24 Thread Andrew Zeneski
Been checking out 2.0rc1 and am really excited about the new features (as I think most of us are). I had a couple of questions that I couldn't find answers to scanning the docs. Totally possible I missed it and if so, please feel free to direct me to the proper place. 1. Is there a way to remove a

Re: Riak Search 2.0

2014-03-24 Thread Eric Redmond
> From: Alexander Sicular [mailto:sicul...@gmail.com] > Sent: Friday, March 21, 2014 11:47 PM > To: Sapre, Meghna A > Cc: Eric Redmond; riak-users@lists.basho.com > Subject: Re: Riak Search 2.0 > > You need to install jsonpp, https://github.com/jmhodges/jsonpp. You could >

RE: Riak Search 2.0

2014-03-24 Thread Sapre, Meghna A
anks, Meghna From: Alexander Sicular [mailto:sicul...@gmail.com] Sent: Friday, March 21, 2014 11:47 PM To: Sapre, Meghna A Cc: Eric Redmond; riak-users@lists.basho.com Subject: Re: Riak Search 2.0 You need to install jsonpp, https://github.com/jmhodges/jsonpp. You could also pipe to python which is pr

Re: Riak Search 2.0

2014-03-21 Thread Alexander Sicular
> Thank you all for your help. > Meghna > > From: Eric Redmond [mailto:eredm...@basho.com] > Sent: Friday, March 21, 2014 9:25 AM > To: Sapre, Meghna A > Cc: Michael Dillon; riak-users@lists.basho.com > Subject: Re: Riak Search 2.0 > > Yes, you enable riak sear

RE: Riak Search 2.0

2014-03-21 Thread Sapre, Meghna A
A Cc: Michael Dillon; riak-users@lists.basho.com Subject: Re: Riak Search 2.0 Yes, you enable riak search 2.0 by setting search=on. There's a lot of useful information in the search documentation. http://docs.basho.com/riak/2.0.0pre11/dev/using/search/ Eric On Mar 21, 2014, at 9:21 AM,

Re: Riak Search 2.0

2014-03-21 Thread Eric Redmond
Yes, you enable riak search 2.0 by setting search=on. There's a lot of useful information in the search documentation. http://docs.basho.com/riak/2.0.0pre11/dev/using/search/ Eric On Mar 21, 2014, at 9:21 AM, "Sapre, Meghna A" wrote: > Thanks, Riak version gives me 2.0.0

RE: Riak Search 2.0

2014-03-21 Thread Sapre, Meghna A
is it something I need to install separately? Thanks, Meghna From: Eric Redmond [mailto:eredm...@basho.com] Sent: Friday, March 21, 2014 8:53 AM To: Sapre, Meghna A Cc: Michael Dillon; riak-users@lists.basho.com Subject: Re: Riak Search 2.0 Searching that version list is not generally useful if you

Re: Riak Search 2.0

2014-03-21 Thread Eric Redmond
Searching that version list is not generally useful if you just want the version of the Riak node you're running. Try running "riak version". As for "Riak Search 2.0", the project that makes it work is called "yokozuna". Eric On Mar 20, 2014, at 5:24 PM,

RE: Riak Search 2.0

2014-03-20 Thread Sapre, Meghna A
Thanks, seems to be a mix. Riak_search_version is ‘1.4.1-19’, is there 2.0 version for this? If so, how do I get it? Thanks, Meghna From: Michael Dillon [mailto:mdillon...@pagefreezer.com] Sent: Thursday, March 20, 2014 4:25 PM To: Sapre, Meghna A Subject: Re: Riak Search 2.0 Try using riak

Riak Search 2.0

2014-03-20 Thread Sapre, Meghna A
Hi all, I recently inherited a Riak dB, so my questions are probably very basic. The ones I ask are the ones I couldn't find answers to in the docs or online. 1. When I run 'riak-admin status | grep riak_kv_version', it shows 'riak 1.4.2'. The person who had originally done the installation