I am wondering if Riak search can index intermediate nested fields. When indexing json data through the KV precommit hook, the underscore is understood in the schema as indicating nesting. Thus, foo_bar will index the value "bah" of field "bar" in the json document { "foo" : { "bar" : "bah" } }.
What I'd like to know is if it can instead index the key "bar" in the same json document. In my current use case I want to be able to find documents with certain values for "bar" for these types of documents. Can this be done by simply indexing the field "foo"? Does search know to index all keys in "foo" if foo is a hash, or all its values if it is an array? Elias
_______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com