Re: Riak API for Java

2014-11-12 Thread Guido Medina
You need to learn how to use Jackson, there is no other way around it, like you were told, you need a default constructor, or an annotated constructor to instruct Jackson how to instantiate your class, like the following example: public class TestClass { @JsonCreator public TestClass(

Riak Search: 'Failed to index docs' error when inserting a document from tutorial

2014-11-12 Thread Stanislav Nazarenko
Hi All, Apologies if you received this message twice - my submission through Nabble seems to have failed. I've been a moderate user of early versions of Riak and now I'm back to Riak land to try version 2.0 and Riak Search with Solr (after seeing Eric Redmond presenting in Dublin, this is ex

[SOLR]Does indexing is async operatoin?

2014-11-12 Thread Alexander Popov
I put data to some bucket with indexing schema, Immediately after that I'm trying to query this data using search interface very often just inserted data is missed. Does it any way to know when it will be done? or any other ways how to achieve this? ___

Re: Riak API for Java

2014-11-12 Thread Ebbinge
run: java.io.IOException: Error receiving outputs: normal That's the error I am receiving :/ Could you guide me to make it work with my "Producto" Class, I am total beginner to the Riak API for Java. Thanks in advance, Edwin. -- View this message in context: http://riak-users.197444.n3.nabb

Re: Riak API for Java

2014-11-12 Thread Brian Roach
On Wed, Nov 12, 2014 at 8:20 AM, Ebbinge wrote: > run: > java.io.IOException: Error receiving outputs: normal > > That's the error I am receiving :/ Could you guide me to make it work with > my "Producto" Class, I am total beginner to the Riak API for Java. The error message you're receiving is c

Re: Riak Search: 'Failed to index docs' error when inserting a document from tutorial

2014-11-12 Thread Luke Bakken
Hi Stanislav, * Which version of the Python client are you using? * Could you please attempt to insert the "liono" document using curl? curl -vvv -H'Content-type: application/json' -XPUT localhost:10018/types/animals/buckets/cats/keys/liono -d '{"name_s":"Lion-o","age_i":30,"leader_b":true}' --

Re: Riak Search queries

2014-11-12 Thread Eric Redmond
On Nov 11, 2014, at 3:55 AM, Jason Ryan wrote: > Hi all, > > I have some quick (hopefully!) questions around Riak search. > > 1. I'm getting multiple documents returned in the search results for a query > - which I assume is based on the n_val of my bucket as I tried to change the > search i

Re: [SOLR]Does indexing is async operatoin?

2014-11-12 Thread Eric Redmond
There is a 1 second soft-commit delay while Solr adds the value to the index in memory. No matter what you do, there will always be a delay (all indexers have this issue, including SolrCloud and ElasticSearch). Eric On Nov 12, 2014, at 6:03 AM, Alexander Popov wrote: > I put data to some buc

Re: Riak Search: 'Failed to index docs' error when inserting a document from tutorial

2014-11-12 Thread Stanislav Nazarenko
Luke, Thanks for your reply. 1) I'm using a fresh checkout from https://github.com/basho/riak-python-client. Maybe I should be using the latest official release, 2.1.0? 2) Here's what I got after running curl: * Adding handle: conn: 0x7f9c03804400 * Adding handle: send: 0 * Adding handle: recv

Re: Riak API for Java

2014-11-12 Thread Ebbinge
Great, thank you so much. I tried using the format of the class that you wrote in the gist github you sent me. I get now all my 20 "productos" printed on the console of netbeans, which is something :D!!! Now, any idea of how I can map-reduce the top ten most used words of the descriptions of each

Re: Riak API for Java

2014-11-12 Thread Ebbinge
I am aware that the BucketMapReduce has a method called addReducePhase, but the documentation on java does not tell me what should go in the parameters, and I haven't found any examples of it. I have a clue of how to do what I need to do manually, using an arraylist, but, If the API has the reducep

Re: Riak API for Java

2014-11-12 Thread Ebbinge
Now... I have another problem :/ Before I was using a node installed on my mac, I have an Ubuntu machine which is a cluster along with other 2 Ubuntu Machines (Virtual Machines using VMware). When I use the IP for the node on my mac, it works FINE, but... If I use the IP of my Virtual Machine which

Re: Riak Multiple Versions on RHEL

2014-11-12 Thread Bryan Hunt
Short of running virtual machines, or docker instances this is not currently possible. On 11 Nov 2014 22:01, "Andrew Zeneski" wrote: > I have a cluster of RHEL 6 test servers currently running 1.4.10. I'd like > to install 2.0.2 on these servers along side of 1.4.10, without building > from sourc