You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd need to perform a range query against a string secondary index to get all matching records using a partial value (e.g. by searching "data" I want to be able also to get "data-1", "data-2" and so on).
This is possible in Riak itself by using the Range with Terms, that simply requires to append return_terms=true to the 2i query (you can check an example here -search for the section "Range with terms"-).
By the way I was not able to find out how to perform this kind of query in riak-js. I would like to avoid to use riak search for that.
How can I perform this kind of query? If it's not supported by the library API's is there a way I can use the built-in client to perform custom queries?
Thanks,
Alex.
The text was updated successfully, but these errors were encountered:
Hello,
I'd need to perform a range query against a string secondary index to get all matching records using a partial value (e.g. by searching "data" I want to be able also to get "data-1", "data-2" and so on).
This is possible in Riak itself by using the Range with Terms, that simply requires to append
return_terms=true
to the 2i query (you can check an example here -search for the section "Range with terms"-).By the way I was not able to find out how to perform this kind of query in riak-js. I would like to avoid to use riak search for that.
How can I perform this kind of query? If it's not supported by the library API's is there a way I can use the built-in client to perform custom queries?
Thanks,
Alex.
The text was updated successfully, but these errors were encountered: