Search with FunctionQuery

2014-12-23 Thread Troy Melhase
Hi everyone Is it possible to pass a Solr FunctionQuery [1][2] to Riak search? If so, how would I do that? Would love an example if possible. Many thanks, troy [1] https://wiki.apache.org/solr/FunctionQuery [2] https://wiki.apache.org/solr/SolrRelevancyFAQ#How_can_I_change_the_score_of_a_

Re: Data Modelling

2014-11-25 Thread Troy Melhase
Lots of insight here: https://highlyscalable.wordpress.com/2012/03/01/nosql-data-modeling-techniques/ On Tue, Nov 25, 2014 at 1:47 PM, John Daily wrote: > I’ve written a bit about modeling patterns at > http://basho.com/riak-development-anti-patterns/ > > I expanded a bit on it in contributio

Re: Riak cluster on Docker

2014-09-02 Thread Troy Melhase
How did you connect the riak nodes across different hosts? I tried several different approaches (geard, pipework, etc), but I wasn't comfortable enough to use any in production. On Tue, Sep 2, 2014 at 9:17 PM, superstructor wrote: > I have a Riak cluster working across different CoreOS hosts

Re: Search sort error in 2.0.0beta1

2014-05-01 Thread Troy Melhase
a bug or not, but the work-around is plain enough: add "score" to the list of fields if there's a sort and the field list isn't empty. Whew! troy On Wed, Apr 30, 2014 at 10:09 PM, Troy Melhase wrote: > Hello! > > I'm getting an error when I include a sort

Search sort error in 2.0.0beta1

2014-04-30 Thread Troy Melhase
Hello! I'm getting an error when I include a sort parameter in a RpbSearchQueryReq message. I'm using Riak 2.0.0beta1. Source build and macos binaries show the same behavior. The error doesn't happen at all if I don't specify a search parameter. For the parameter value, I'm using "field direct

Re: [ANN] Zukai, an ODM for Riak and Node.js

2013-06-03 Thread Troy Melhase
Zagidulin wrote: > > Wow! Troy, the project looks very impressive. Excellent docs, too. I can't > wait to try it out. > > > On Sat, Jun 1, 2013 at 7:36 PM, Troy Melhase wrote: > >> Hello everyone, >> >> I've put together an ODM [1] for Riak and Node.js.

[ANN] Zukai, an ODM for Riak and Node.js

2013-06-01 Thread Troy Melhase
Hello everyone, I've put together an ODM [1] for Riak and Node.js. I tried a few of the the available packages, but none were to my liking. I wanted something that used protocol buffers, json schemas, and promises. So I made one. It's here: https://github.com/natural/zukai Feedback, bug repo