Riak client returnTerm and regexp
sean at basho.com
Wed Feb 4 10:21:48 EST 2015
Have a look at this page:
'return_terms' is a flag you can pass true or false for. It ensures that
you get the value of the index as well as the associated key with your
result set, which can make it easier to group or sort on the client-side.
'term_regex' is a quasi-PCRE that is used to additionally filter the index
as it's being traversed. NHS requested and submitted the code for this
feature because they found that it greatly improved query speed in their
use-case; their index terms were very regular but needed to support
wildcards and such. Also, at the time they were developing, Riak Search 2
(Yokozuna) was not ready. Your mileage may vary.
On Wed, Feb 4, 2015 at 6:15 AM, Daniel Iwan <iwan.daniel at gmail.com> wrote:
> I watched Ricon2014 video from Martin @NHS. Before the end of his talk he
> briefly mentions returnTerm
> option and also something about regular expression matching (2i ?)
> Does anyone know where can I find more information about those two?
> View this message in context:
> Sent from the Riak Users mailing list archive at Nabble.com.
> riak-users mailing list
> riak-users at lists.basho.com
Sean Cribbs <sean at basho.com>
Sr. Software Engineer
Basho Technologies, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the riak-users