Re: Indexing of intermediate nested fields in Riak search

2011-11-01 Thread Rusty Klophaus
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

Re: Indexing of intermediate nested fields in Riak search

2011-10-31 Thread Elias Levy
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.

Re: Indexing of intermediate nested fields in Riak search

2011-10-30 Thread Elias Levy
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

Indexing of intermediate nested fields in Riak search

2011-10-29 Thread Elias Levy
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" } }.