Prometheus stats gathering for Riak? Riak CS?

2015-03-22 Thread Toby Corkindale
Hi, I wondered if anyone has written a stats gathering plugin for Prometheus? It doesn't look like it'd be too hard to do; but I'm still lazy enough to hope that someone else has done it first :) http://prometheus.io/ Toby ___ riak-users mailing list ri

Re: Trouble with Riak Search JSON Extractor

2015-03-22 Thread Matt Brooks
I see. I'll be looking forward to the future release! Thank you, Zeeshan. Matt. On Sun, Mar 22, 2015 at 9:57 PM Zeeshan Lakhani wrote: > Hey Matt, > > Thanks for clarifying the situation. Yes, I’m working on auto-reloading > and re-syncing data along with changes to schemas; it’ll be in a futur

riak search java client - sql injection

2015-03-22 Thread Jason W
Hello, I try to use the riak search java client, specifically the Search.Builder class, like the following Search search = new Search.Builder("test", "_yz_rb:accounts AND email:" + [user-email]). "[user-email]" is what user entered in the login form, my question is about sql injection, it seem

Re: Trouble with Riak Search JSON Extractor

2015-03-22 Thread Zeeshan Lakhani
Hey Matt, Thanks for clarifying the situation. Yes, I’m working on auto-reloading and re-syncing data along with changes to schemas; it’ll be in a future release. Currently, you can add fields to the schema, for example, for new sets of data, and reload the index if you `riak attach` into one o

Re: Trouble with Riak Search JSON Extractor

2015-03-22 Thread Matt Brooks
Just discovered this on GitHub https://github.com/basho/yokozuna/issues/130. Looks like auto-reloading is a work in progress. On Sun, Mar 22, 2015 at 9:24 PM Matt Brooks wrote: > Not getting any errors... but I did notice something interesting after > deleting the nodes on my system and then rec

Re: Trouble with Riak Search JSON Extractor

2015-03-22 Thread Matt Brooks
Not getting any errors... but I did notice something interesting after deleting the nodes on my system and then reconfiguring them. If the first time I set up a schema I add the multivalued field in question, everything works. If I then change the schema and then update it over HTTP, the changes d

Re: Trouble with Riak Search JSON Extractor

2015-03-22 Thread Zeeshan Lakhani
Hello Matt, Are you receiving any indexing errors in your logs (check the Solr logs as well)? To be sure, I just wrote a test (using our erlang pb api, https://github.com/basho/yokozuna/pull/474/files#diff-5d0015658ff90b94cb1a00329ffafe00R251

Trouble with Riak Search JSON Extractor

2015-03-22 Thread Matt Brooks
Hello, I have a quick question about a search schema that would index an array of strings in a JSON object. I am storing user data in JSON that looks something like this: { "name" : "John Smith", "email" : "jsm...@gmail.com", "groups" : [ "3304cf79", "abe155cf" ]} The cus