Trace query execution path


(Moshe Recanati) #1

Hi,
Recently I added several analyzers including synonyms and phonetic plugin to our Elastic indices.
I'm running several queries and I would like to understand the exact path that this query executed from the time it entered to Elastic until I got the results.
For example I would like to understand which Analyzers triggered, which synonym words where chosen etc.
I tried using slowlog however it present only the query without this information.

Let me know if there is something like this and how to enable it.

Thank you in advance,
Moshe


(Mark Walkom) #2

There is the explain API but that is for scoring. Apart from that there isn't anything at the moment.
This is something we are discussing though.


(Otis Gospodnetić) #3

Hi,

Couldn't you run ES under a debugger and trace everything?

Otis

Monitoring * Alerting * Anomaly Detection * Centralized Log Management
Solr & Elasticsearch Support * http://sematext.com/


(Moshe Recanati) #4

Hi,
Thank you.
This is really great idea. Hopefully I'll understand the code :slight_smile:

Moshe


(system) #5