Re: Object metadata via NodeJS client

2015-04-07 Thread José Ghislain Quenum
Luke, In my current implementation, I use metadata for both links and secondary index. On Mon, Apr 6, 2015 at 4:03 PM, Luke Bakken wrote: > Hi José, > > Other than links, what object metadata are you trying to access or modify? > > Thanks - > > -- > Luke Bakken > Engineer > lbak...@basho.com > >

Deserialising nested Json into java object through Java -clinet

2015-04-07 Thread Santi Kumar
Hi We have a Composite pojo which we are indexing into Riak search. If I see the structure of the object in solr web console, it shows as nested json. Through java client when we query it returns the Map and having difficulties in converting it into java object. Is there a way in riak-java client t

Re: Deserialising nested Json into java object through Java -clinet

2015-04-07 Thread Brian Roach
Santi, There is nothing in the Riak Java client to do that, no. The result of a search query over the Riak protocol buffers API returns the fields you queried for as a series of key/value pairs, with the value always being a string. This is unfortunate when it comes to mapping those values back t

Re: Object metadata via NodeJS client

2015-04-07 Thread Luke Bakken
Hi José, Please refer to this document: http://basho.github.io/riak-nodejs-client/classes/RiakObject.html When you retrieve a value, you get a RiakObject back: client.fetchValue({ bucket: 'test', key: 'foo' }, function (err, rslt) { var riakObj = rslt.values.shift(); }); This RiakObject ex

Re: Riak Search 2.0 & Tagging

2015-04-07 Thread Zeeshan Lakhani
Hello Antonio, Firstly, please always reply to the list and not via personal email. In regards to your question, I wrote a test that showcases how to write objects with tags in pb for search: https://github.com/basho/yokozuna/pull/479/files#diff-f9f0e102b2a5208f41b2f304ada0ee5cR306

Re: Deserialising nested Json into java object through Java -clinet

2015-04-07 Thread Santi Kumar
Thanks Brian for the response. Yah we r trying to write that Jackson deserialiser for our object and was struck there as we r not much familiar just want to check if there is a direct way. We will either try to share with you or try solr client directly Thanks Santi On Apr 7, 2015 9:37 PM, "Bria

Distributed joins and Riak search

2015-04-07 Thread Karri Niemelä
Do same limitations apply for yokozuna and SolrCloud? (http://wiki.apache.org/solr/DistributedSearch#Distributed_Searching_Limitations, meaning no joins …) ? ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinf

Re: Distributed joins and Riak search

2015-04-07 Thread Zeeshan Lakhani
Hello Karri, That link is not describing SolrCloud, and Yokozuna does *not* use SolrCloud. And, yes, those limitations do apply because we use Distributed Solr. For example, the join ticket is still open: https://issues.apache.org/jira/browse/LUCENE-3759