# Explain Result Output: Nested Level of Description with Weight or ConstantScore(BooleanFilter

**URL:** <https://discuss.elastic.co/t/explain-result-output-nested-level-of-description-with-weight-or-constantscore-booleanfilter/17177>\
**Category:** Elasticsearch\
**Created:** [April 24, 2014, 3:28pm UTC](https://discuss.elastic.co/t/explain-result-output-nested-level-of-description-with-weight-or-constantscore-booleanfilter/17177 "2014-04-24T15:28:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![suhaas](https://avatars.discourse-cdn.com/v4/letter/s/e480ec/32.png) [@suhaas](https://discuss.elastic.co/u/suhaas)\
**Post date:** [April 24, 2014, 3:28pm UTC](https://discuss.elastic.co/t/explain-result-output-nested-level-of-description-with-weight-or-constantscore-booleanfilter/17177/1 "2014-04-24T15:28:43Z")

</div>

Hi,

I am parsing Elasticsearch explain output. I am trying to find out how deep  
can be be the first relevant description as part of value, description,  
details combination. I am trying to parse descriptions that have either  
"weight" or "CustomScore".

As I could not find a Json parser that has XPath like functionality in  
finding sibling nodes (say I found a description node because matched on  
string "weight(" then I want to collect the "value" which is sibling node)  
I am relying on recursion. I have seen a description with "weight" or  
"CustomScore" to be 5 levels deep, from the first value, description,  
details combination. this is ok by me. I was wondering if it ever goes to  
higher magnitutes say 10, 20 or 30.

Regards,

Suhaas

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/a8e736fc-2830-4dba-9c03-eb5756e52486%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/a8e736fc-2830-4dba-9c03-eb5756e52486%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:33am UTC](https://discuss.elastic.co/t/explain-result-output-nested-level-of-description-with-weight-or-constantscore-booleanfilter/17177/2 "2017-07-06T01:33:43Z")

</div>

Closed on July 6, 2017, 1:33am UTC


