Problem with "Has Child Filter"

Hello,

I'm trying to do an index with three levels : parent, child and
"child of child".
But i always have these failures when i post a query :

"QueryPhaseExecutionException[[parent_child][1]:
query[filtered(name:auchan)->child_filter[department/store]
(filtered(filtered(name:toys)->child_filter[product/department]
(filtered(trademark:tiger)->FilterCacheFilterWrapper(_type:product)))-

FilterCacheFilterWrapper(_type:department))],from[0],size[10]: Query
Failed [Failed to execute child query [filtered(filtered(name:toys)-
child_filter[product/department](filtered(trademark:tiger)-
FilterCacheFilterWrapper(_type:product)))-
FilterCacheFilterWrapper(_type:department)]]]; nested: "

I put my curl recreation here : Elasticsearch 0.18.6 : My example of "parent child" · GitHub

1- a file to create the index : "parent child" mapping
2- a file to index the data : "parent child" data
3- a file to query the index : "parent child" query

Thank you in advance.

Heya,

Its a problem with multi level parent/child mapping implementation. Opened an issue: Multi level parent/child mapping and search fails · Issue #1751 · elastic/elasticsearch · GitHub.

-shay.banon

On Wednesday, February 29, 2012 at 5:47 PM, Chris wrote:

Hello,

I'm trying to do an index with three levels : parent, child and
"child of child".
But i always have these failures when i post a query :

"QueryPhaseExecutionException[[parent_child][1]:
query[filtered(name:auchan)->child_filter[department/store]
(filtered(filtered(name:toys)->child_filter[product/department]
(filtered(trademark:tiger)->FilterCacheFilterWrapper(_type:product)))-

FilterCacheFilterWrapper(_type:department))],from[0],size[10]: Query

Failed [Failed to execute child query [filtered(filtered(name:toys)-

child_filter[product/department](filtered(trademark:tiger)-
FilterCacheFilterWrapper(_type:product)))-
FilterCacheFilterWrapper(_type:department)]]]; nested: "

I put my curl recreation here : Elasticsearch 0.18.6 : My example of "parent child" · GitHub

1- a file to create the index : "parent child" mapping
2- a file to index the data : "parent child" data
3- a file to query the index : "parent child" query

Thank you in advance.

ok great, thank you very much.

On 1 mar, 13:24, Shay Banon kim...@gmail.com wrote:

Heya,

Its a problem with multi level parent/child mapping implementation. Opened an issue:Multi level parent/child mapping and search fails · Issue #1751 · elastic/elasticsearch · GitHub.

-shay.banon

On Wednesday, February 29, 2012 at 5:47 PM, Chris wrote:

Hello,

I'm trying to do an index with three levels : parent, child and
"child of child".
But i always have these failures when i post a query :

"QueryPhaseExecutionException[[parent_child][1]:
query[filtered(name:auchan)->child_filter[department/store]
(filtered(filtered(name:toys)->child_filter[product/department]
(filtered(trademark:tiger)->FilterCacheFilterWrapper(_type:product)))-

FilterCacheFilterWrapper(_type:department))],from[0],size[10]: Query

Failed [Failed to execute child query [filtered(filtered(name:toys)-

child_filter[product/department](filtered(trademark:tiger)-
FilterCacheFilterWrapper(_type:product)))-
FilterCacheFilterWrapper(_type:department)]]]; nested: "

I put my curl recreation here :Elasticsearch 0.18.6 : My example of "parent child" · GitHub

1- a file to create the index : "parent child" mapping
2- a file to index the data : "parent child" data
3- a file to query the index : "parent child" query

Thank you in advance.