agemooij / riak-scala-client

An easy to use, non-blocking, fast Scala client library for interacting with Riak.
http://riak.scalapenos.com/
Apache License 2.0
84 stars 24 forks source link

Added support for search #31

Open mordonez-me opened 10 years ago

mordonez-me commented 10 years ago

I had to add support for search using solr like, I have added two tests that probe that a bucket can be enabled for indexing (to use search) and query for values using a solr style.

Please let me know what you think, we plan to continue adding more features because we need to use them in our project. The next feature we are going to add is MapReduce.

agemooij commented 10 years ago

This looks pretty good.

I've never used Riak search. Could you tell me why precommit hooks are needed

I did a quick search on precommit hooks but I could find any decent docs. I would prefer to get rid of the raw Map in favor of some explicit PreCommitHook classes, like a EnableSearchPreCommitHook specifically for this case and maybe one for the more general name-language case. Would that be a lot of trouble for you?