Chris_2
(Chris-2)
February 29, 2012, 3:47pm
1
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.
kimchy
(Shay Banon)
March 1, 2012, 12:24pm
2
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.
Chris_2
(Chris-2)
March 3, 2012, 11:39am
3
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.