# Search and query explain

**URL:** <https://discuss.elastic.co/t/search-and-query-explain/21445>\
**Category:** Elasticsearch\
**Created:** [December 31, 2014, 8:39pm UTC](https://discuss.elastic.co/t/search-and-query-explain/21445 "2014-12-31T20:39:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Manuel\_Sugawara](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/manuel_sugawara/32/1017_2.png) [@Manuel\_Sugawara](https://discuss.elastic.co/u/Manuel_Sugawara)\
**Post date:** [December 31, 2014, 8:39pm UTC](https://discuss.elastic.co/t/search-and-query-explain/21445/1 "2014-12-31T20:39:06Z")

</div>

Hi,

I'm issuing queries to ES using Lucene syntax and I would like to know how  
my queries are parsed. I can do that using the validate-query API together  
with the ?explain parameter but I would like to have that info as part of  
my search results, ie, search results + explained query. Is that possible?.  
Any help will be appreciated.

Thanks,  
Manuel.

--  
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/2802f497-3a67-4e39-aa93-0a6d4015ceb4%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/2802f497-3a67-4e39-aa93-0a6d4015ceb4%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, 12:41am UTC](https://discuss.elastic.co/t/search-and-query-explain/21445/2 "2017-07-06T00:41:19Z")

</div>


