Riak Search indexing json

Zeeshan Lakhani zlakhani at basho.com
Wed Feb 10 10:46:46 EST 2016

Hey Colin,

Riak Search definitely indexes json documents. My guess is that your json-object keys are not indexed via the schema?

We have an example in the docs page (w/ the Java client as well): http://docs.basho.com/riak/latest/dev/using/search/#Indexing-Values <http://docs.basho.com/riak/latest/dev/using/search/#Indexing-Values> (& http://docs.basho.com/riak/latest/dev/advanced/search-schema/#Creating-a-Custom-Schema <http://docs.basho.com/riak/latest/dev/advanced/search-schema/#Creating-a-Custom-Schema> may be helpful too).

Zeeshan Lakhani
programmer | 
software engineer at @basho

> On Feb 10, 2016, at 10:40 AM, Colin Walker <colin at musefind.com> wrote:
> Hello everyone,
> Sorry for the basic question but I couldn't find the answer in the documentation. Does Riak search currently index documents sent as JSON? It doesn't look like it from the basic tests that I've run. I am using the new Solr search on Riak 2.1.3.
> When I send data to the bucket using a Map type in the java client everything is indexed and I can search for my data as expected. However, when I send the same Java map as JSON I cannot find a way to search within it. I am using the default index schema.
> Thanks everyone!
> Colin Walker
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20160210/60a03fc2/attachment-0002.html>

More information about the riak-users mailing list