first my gist: https://gist.github.com/2136557
I have ParentType and ChildType, the ParentType s defined as "_parent"
I have ChildType.title field and ParentType.titles field.
ParentType.titles is array duplicating the ChildType.title.
I want a facet on the title field which I am currently doing on the
ParentType.titles but now I want to remove this field and define the
facet on the ChildType.title.
Unfortunately I couldn't do the "scope" property of the facet working
- it is just ignored and the facet is always defined on the
ParentType. If I define facet on "titles" property it works if I
define facet on "title" property it doesn't.
Any idea what is wrong with my query?
Somewhere ot the group I found that this should be done with nested
documents but then I am not able to query directly the ChildType.
Any help is very appreciated.