Hi Elias,
Yes, your workaround should work, you should be able to index and query on
subobjects with the same field names. I've included two examples below that
work successfully for me locally. Please take a look, this may help uncover
what's going wrong.
Best,
Rusty
bin/search-cmd install mybu
Any ideas on this? Should indexing for sub-objects in an array with the
same field names in a JSON document work?
On Sun, Oct 30, 2011 at 6:56 AM, Elias Levy wrote:
> On Sat, Oct 29, 2011 at 9:59 PM, Elias Levy
> wrote:
>
>> I am wondering if Riak search can index intermediate nested fields.
On Sat, Oct 29, 2011 at 9:59 PM, Elias Levy wrote:
> 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 fiel
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" } }.