riak 2.0 pre11.1 doesn't start

2014-03-17 Thread Buri Arslon
Hi guys! ./riak start is giving me "wait_for_erlang" error. I had added a detailed info here: https://github.com/basho/riak/issues/512 any hints? thanks, Buriwoy ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/list

Re: riak 2.0 pre11.1 doesn't start

2014-03-17 Thread Buri Arslon
running. Either start riak using "riak console" INSTEAD > OF riak start, or use riak attach to connect to an already running one. But > the messages that have already been displayed will not reappear. Look in > the logs. > > > > On Mon, Mar 17, 2014 at 1:58 PM, Buri

Re: riak 2.0 pre11.1 doesn't start

2014-03-17 Thread Buri Arslon
ific. In the GitHub issue it was mentioned that there is an older > version in play - is this other ring running while you're firing up 2.0? > > Perhaps getting more information about the environment might help to > figure out why you're encountering this error. > > On March 17

Re: riak 2.0 pre11.1 doesn't start

2014-03-17 Thread Buri Arslon
> VM local or remote holding onto that name/IP. If you want to ping me > directly with the configuration directory (etc) contents, logs, and OS > version specifics I'll see if I can reproduce. > > On March 17, 2014 at 15:36:25, Buri Arslon (buri...@gmail.com) wrote: > &g

Any docs on Yokozuna with erlang client?

2014-03-20 Thread Buri Arslon
Hi guys! In yokozuna github page, I see only http examples. Do you have any docs for erlang client? thanks, Buriwoy ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Re: Any docs on Yokozuna with erlang client?

2014-03-20 Thread Buri Arslon
m/riak/2.0.0pre11/dev/using/search/ > > On Thu, Mar 20, 2014 at 10:28 AM, Buri Arslon wrote: > > Hi guys! > > > > In yokozuna github page, I see only http examples. Do you have any docs > for > > erlang client? > > > > thanks, > > Buriwoy >

riak 2.0 erlang client issue

2014-03-21 Thread Buri Arslon
Hi guys! I'm playing with Riak 2.0 pre15. I also updated riakc-erlang-client to the latest. I'm getting an error. Any hints? Thanks! ERROR: --- (main@abc)5> {ok, Pid} = riakc_pb_socket:start_link("127.0.0.1", 8087). {ok,<0.255.0>} (main@abc)6> riakc_pb

Re: riak 2.0 erlang client issue

2014-03-21 Thread Buri Arslon
(compile) make: *** [PROTOC-exists] Error 1 On Fri, Mar 21, 2014 at 8:58 AM, Sean Cribbs wrote: > Buri, > > riak_pb_messages is a module generated by rebar at build time. Do you have > the latest riak_pb dependency? How did you build the client? > > > On Fri, Mar 21, 2014 at

Riak 2.0 Solr schema directory

2014-03-21 Thread Buri Arslon
Hi guys! Where does Riak store solr schemas (xml files)? I can't find in the docs: http://docs.basho.com/riak/2.0.0pre11/dev/using/search/ http://docs.basho.com/riak/2.0.0pre11/dev/advanced/search-schema/ Thanks, -- Buriwoy ___ riak-users mailing list

Re: Riak 2.0 Solr schema directory

2014-03-21 Thread Buri Arslon
I mean, where do I store my custom schemas? On Fri, Mar 21, 2014 at 4:20 PM, Buri Arslon wrote: > Hi guys! > > Where does Riak store solr schemas (xml files)? I can't find in the docs: > > http://docs.basho.com/riak/2.0.0pre11/dev/using/search/ > http://docs.basho.

Re: Riak 2.0 Solr schema directory

2014-03-21 Thread Buri Arslon
I found this: ./lib/yokozuna-v0.14.0-41-gf1fd688/priv/default_schema.xml is that the right directory to store custom schemas? On Fri, Mar 21, 2014 at 4:26 PM, Buri Arslon wrote: > I mean, where do I store my custom schemas? > > > On Fri, Mar 21, 2014 at 4:20 PM, Buri Arslon wr

Re: Riak 2.0 Solr schema directory

2014-03-21 Thread Buri Arslon
ry > @my-test-schema.xml > > Then, you can associate the schema with an index: > > curl -XPUT -iH 'Content-Type: application/json' > http://localhost:8098/search/index/my-test-index -d > '{"schema":"my-test-schema"}' > > -- > L

Re: Riak 2.0 Solr schema directory

2014-03-21 Thread Buri Arslon
is riakc_pb_socket:create_search_schema/3/4 erlang way of adding custom schemas to Riak? On Fri, Mar 21, 2014 at 11:05 PM, Buri Arslon wrote: > Thanks, Luke! > > > On Fri, Mar 21, 2014 at 6:04 PM, Luke Bakken wrote: > >> Hi Buri, >> >> You upload your XML sc

Re: Riak 2.0 Solr schema directory

2014-03-22 Thread Buri Arslon
Thanks! On Sat, Mar 22, 2014 at 10:25 AM, Eric Redmond wrote: > Yes > On Mar 21, 2014 10:24 PM, "Buri Arslon" wrote: > >> is riakc_pb_socket:create_search_schema/3/4 erlang way of adding custom >> schemas to Riak? >> >> >> On Fri, Mar 21, 20

Search Index Not Found

2014-03-22 Thread Buri Arslon
Hi guys! lkkI added custom schema and search index via erlang client. riakc_pb_socket:list_search_indexes is giving this result: {ok,[[{index,<<"business">>}, {schema,<<"business">>}, {n_val,3}]]} But "get_search_index" is returning error: {error,<<"notfound">>} What am I doing

Re: Search Index Not Found

2014-03-22 Thread Buri Arslon
another weird thing I noticed is that after I restart riak, get_search_index returns {ok, Index}, but after a few seconds, it's going back to {error, "notfound"} On Sat, Mar 22, 2014 at 12:39 PM, Buri Arslon wrote: > Hi guys! > > lkkI added custom schema and search

Re: Search Index Not Found

2014-03-22 Thread Buri Arslon
thanks, Ryan! yes, it was because an error in my solr schema. After correcting error, it is working. On Sat, Mar 22, 2014 at 2:06 PM, Ryan Zezeski wrote: > > On Sat, Mar 22, 2014 at 2:57 PM, Buri Arslon wrote: > >> another weird thing I noticed is that after

How to update custom solr schema?

2014-03-22 Thread Buri Arslon
Hey guys! I modified my custom schema and tried these steps to update it in the riak: 1. Empty buckets 2. run "create_search_schema" 3. run "create_search_index" 4. stop and start riak But it didn't work. Solr isn't picking up the new schema. What am I missing here? thanks, -- Buriwoy

Re: How to update custom solr schema?

2014-03-22 Thread Buri Arslon
Never mind. Got some hints from here: https://github.com/basho/yokozuna/issues/130 On Sat, Mar 22, 2014 at 10:15 PM, Buri Arslon wrote: > Hey guys! > > I modified my custom schema and tried these steps to update it in the riak: > > 1. Empty buckets > 2. run "create_

how to set eDisMax? Solr start and rows not working properly

2014-04-20 Thread Buri Arslon
Hi guys! I searched the docs and the source code but wasn't able to find any info about using edismax. I have 2 questions: 1. How to set edismax parser? 2. Why are "start" and "rows" not working properly? I have 4 records in riak bucket: B C A D {sort, <<"field asc">>} returns c

Re: how to set eDisMax? Solr start and rows not working properly

2014-04-23 Thread Buri Arslon
In solr schema, I can set defType (=edismax). Is it the only place I need to modify to enable edismax? On Sun, Apr 20, 2014 at 7:57 AM, Buri Arslon wrote: > Hi guys! > > I searched the docs and the source code but wasn't able to find any info > about using edismax. >

Re: how to set eDisMax? Solr start and rows not working properly

2014-04-28 Thread Buri Arslon
I still wonder why offset limit doesn't work properly. On Wed, Apr 23, 2014 at 8:31 AM, Buri Arslon wrote: > In solr schema, I can set defType (=edismax). Is it the only place I need > to modify to enable edismax? > > > On Sun, Apr 20, 2014 at 7:57 AM, Buri Arslon wrote: &

Re: how to set eDisMax? Solr start and rows not working properly

2014-05-01 Thread Buri Arslon
Thanks! On Thu, May 1, 2014 at 9:07 AM, Ryan Zezeski wrote: > > > > On Sun, Apr 20, 2014 at 9:57 AM, Buri Arslon wrote: > >> Hi guys! >> >> I searched the docs and the source code but wasn't able to find any info >> about using edismax. >>

Re: how to set eDisMax? Solr start and rows not working properly

2014-05-02 Thread Buri Arslon
btw, my riak version is: riak-riak-2.0.0pre15 On Thu, May 1, 2014 at 9:15 AM, Buri Arslon wrote: > Thanks! > > > On Thu, May 1, 2014 at 9:07 AM, Ryan Zezeski wrote: > >> >> >> >> On Sun, Apr 20, 2014 at 9:57 AM, Buri Arslon wrote: >> >>&g

Riak 2.0 search isn't returning "stored=true" fields

2014-05-02 Thread Buri Arslon
I have a bucket type with custom index (schema). When I search, riak is retuning correct results but there is no stored fields in the result. I had another bucket type with custom search index, it's returning all stored solr fields. But I forgot how I added this bucket type. Do I need to add some

Re: Riak 2.0 search isn't returning "stored=true" fields

2014-05-03 Thread Buri Arslon
Found it. The reason was I had created an index without a schema: iriak:create_search_index(<<"index_name">>). but it should be created with custom schema: iriak:create_search_index(<<"index_name">>,<<"schema_name">>).

Re: how to set eDisMax? Solr start and rows not working properly

2014-05-03 Thread Buri Arslon
Sorry, it was a mistake in my erlang code. Riak is awesome! On Fri, May 2, 2014 at 8:14 AM, Buri Arslon wrote: > btw, my riak version is: riak-riak-2.0.0pre15 > > > On Thu, May 1, 2014 at 9:15 AM, Buri Arslon wrote: > >> Thanks! >> >> >> On Thu, May

riakc_pb_socket:ping(Pid). giving error

2012-03-01 Thread Buri Arslon
Hi, I'm using riak with erlang client and haproxy. start_link/2 was successful but get_server_info is giving an error. http://dpaste.com/709996/ I googled but wasn't able to find any solution. Any ideas? Thanks, Buriwoy ___ riak-users mailing list ria

Re: riakc_pb_socket:ping(Pid). giving error

2012-03-01 Thread Buri Arslon
Oh, never mind. It was haproxy config problem. Thanks! On Thu, Mar 1, 2012 at 9:39 AM, Buri Arslon wrote: > Hi, > > I'm using riak with erlang client and haproxy. start_link/2 was successful > but get_server_info is giving an error. > > http://dpaste.com/709996/ > >

Unicode String problem

2012-03-04 Thread Buri Arslon
Hi everybody! I can't put unicode string to riak. I was following the riak-erlang-client docs, and this doesn't work: Object = riakc_obj:new(<<"snippet">>, <<"odam">>, <<"Одамлардан тинглаб хикоя">>). ** exception error: bad argument I googled but couldn't find anything meaningful about this

Re: Unicode String problem

2012-03-06 Thread Buri Arslon
ct) was accepted. Thanks, -- Buriwoy On Mon, Mar 5, 2012 at 11:25 PM, Igor Karymov wrote: > You can't use unicode expression this way from console. > Try the same expression writen in the erlang module. > > 2012/3/5 Steve Vinoski > >> >> >> On Sun, Mar 4, 2

Blog riak design

2012-03-06 Thread Buri Arslon
Hi, I'm very new to NoSQL/KV database systems. Sean's webinar "Schema Design for Riak" http://vimeo.com/17604126 gave me some idea about how to move to kv database, but I feel I need some more advice/docs to fully grasp this new concept for me. I was thinking about developing a blog application u

Re: Blog riak design

2012-03-07 Thread Buri Arslon
I have another crazy idea :) What if I create a bucket for each blog's comments? So, riak/blog_bucket/blog_01 and comments go to riak/blog_01_comments? Any ideas? -- Buriwoy On Tue, Mar 6, 2012 at 10:07 AM, Buri Arslon wrote: > Hi, > > I'm very new to NoSQL/KV database syst

Re: Blog riak design

2012-03-07 Thread Buri Arslon
ore the chain of comments together so if someone replies the a comment, > all that goes into the actual comment's object instead of having to manage > some form of hierarchy data. > > At the end of the day I basically built a solution that uses both of your > original options

Can't find docs/tutorial on secondary indexes for riak-erlang-client

2012-03-11 Thread Buri Arslon
Hi everybody, I can't find any tutorial or docs on secondary indexes. Here ( http://lists.basho.com/pipermail/riak-users_lists.basho.com/2011-October/005952.html) it was stated that the docs would be updated but I can't find it. I just wanted a doc which explains how to use secondary indexes with

Re: Can't find docs/tutorial on secondary indexes for riak-erlang-client

2012-03-11 Thread Buri Arslon
/riak-erlang-client/blob/master/src/riakc_pb_socket.erl#L732 > --- > Jeremiah Peschka - Managing Director, Brent Ozar PLF, LLC > Microsoft SQL Server MVP > > On Mar 11, 2012, at 11:06 AM, Buri Arslon wrote: > > > Hi everybody, > > > > I can't find any tutori

Re: Can't find docs/tutorial on secondary indexes for riak-erlang-client

2012-03-11 Thread Buri Arslon
finity]}} in function gen_server:call/3 (gen_server.erl, line 188) So, I don't know what the problem is. I can only guess that index data type may not be correct, but it's just guess. Any ideas? -- Buriwoy On Sun, Mar 11, 2012 at 1:05 PM, Buri Arslon wrote: > Thanks for you

Re: Can't find docs/tutorial on secondary indexes for riak-erlang-client

2012-03-11 Thread Buri Arslon
I think Basho should update/improve the documentation. Examples in Links page (http://wiki.basho.com/Links.html) gave me some clues how to update metadata but the examples themselves were outdated. Another idea is to allow users to post their examples (community content). Regards, -- Buri

Fwd: Can't find docs/tutorial on secondary indexes for riak-erlang-client

2012-03-11 Thread Buri Arslon
-- Forwarded message -- From: Buri Arslon Date: Sun, Mar 11, 2012 at 11:47 PM Subject: Re: Can't find docs/tutorial on secondary indexes for riak-erlang-client To: Mark Phillips No problem, Mark. I've submitted a new issue. https://github.com/basho/riak_wiki/issues/2

MapReduce: returned value can't be processed by riakc_obj:get_value

2012-03-27 Thread Buri Arslon
Hi everyone! I was learning MapReduce in Riak and encountered some problems. The map function that received Value wasn't able to process it by riakc_obj:get_value. I checked the value and found out that it was not proper riakc object. riakc_obj:new() returns a tuple where first element is riakc_

Re: MapReduce: returned value can't be processed by riakc_obj:get_value

2012-03-27 Thread Buri Arslon
I think I got it :) I should use riak_object:get_value Thanks anyway, -- buriwoy On Tue, Mar 27, 2012 at 4:38 PM, Buri Arslon wrote: > Hi everyone! > > I was learning MapReduce in Riak and encountered some problems. > > The map function that received Value wasn't a

Link or Secondary Indexes?

2012-03-29 Thread Buri Arslon
Hi, While developing my pet project few questions came to my mind and I decided to consult with you. Which of them are more effective for recording relationships: Link or Secondary Indexes? 1. Friend relationships: like Facebook friends? 2. Followed/follower relationships like in Twitter? 3. Mem

Re: Link or Secondary Indexes?

2012-03-29 Thread Buri Arslon
t also be applicable to your question: > > http://wiki.basho.com/MapReduce-Search-2i-Comparison.html > > If you plan on just doing MapReduce queries without 2i, and don't care > about link walking, then just storing a typical JSON object and not using > either is perfectly fine as w

Re: Link or Secondary Indexes?

2012-03-29 Thread Buri Arslon
e. Data duplication is important when you want to make queries > faster. Doing a simple GET is going to be much faster than a MapReduce. > > --- > Jeremiah Peschka, Managing Director, Brent Ozar PLF, LLC > Microsoft SQL Server MVP > > On Mar 29, 2012, at 8:51 AM, Buri Arslon wr

Re: Link or Secondary Indexes?

2012-03-29 Thread Buri Arslon
On Thu, Mar 29, 2012 at 1:21 PM, Buri Arslon wrote: > Thanks, Alexander. The metaphor was above my poor English, but I feel I > got the point. :) > > -- buriwoy > > > On Thu, Mar 29, 2012 at 1:03 PM, Alexander Sicular wrote: > >> Fat data is a dirty little se

Re: Link or Secondary Indexes?

2012-03-29 Thread Buri Arslon
Oops! Accidentally send empty email :) Thanks, Alexander. The metaphor was above my poor English, but I feel I got the point. :) -- buriwoy On Thu, Mar 29, 2012 at 1:21 PM, Buri Arslon wrote: > > > > On Thu, Mar 29, 2012 at 1:03 PM, Alexander Sicular wrote: > >> Fat d

Riak Anomaly

2012-04-20 Thread Buri Arslon
Hi everybody, Yesterday and today I've experienced anomaly in Riak DB. :list_keys() is showing 2 keys. Each time I perform this it fetches two keys but one of them is always different (different key, different value). So, I guess there are three k/v stored in the DB. Before that, I had deleted /

Re: Riak Adoption - What can we do better?

2012-04-20 Thread Buri Arslon
+2 for a book; O'Reilly would be nice +1 for quality screencasts +1 for a tutorial for newbies like Django has +1 gui admin like pgadmin or mysqlmyadmin I didn't read Mathias' book, but my impression from Table of Contents and sample.pdf was that it's very easy-read, good to understand the concept

Re: Riak Anomaly

2012-04-20 Thread Buri Arslon
Another thing that I noticed: - /data directories aren't same size /data directories in the cluster of (dev1, dev2, dev3) should be the same size, right? -- buriwoy On Fri, Apr 20, 2012 at 8:53 AM, Buri Arslon wrote: > Hi everybody, > > Yesterday and today I've experien