I ran into this as well. The SlowLog will just show you the query that is slow, and the exact JSON query. Nothing like in Solr where you can get a trace of each class, and how much time it has spent in that class.
I would love a feature request for this as it helps debugging immensely.
I ran into this as well. The SlowLog will just show you the query that is
slow, and the exact JSON query. Nothing like in Solr where you can get a
trace of each class, and how much time it has spent in that class.
I would love a feature request for this as it helps debugging immensely.
Yeah, what phobos182 said is what I really meant by tracing.
&debugQuery=true in Solr will show more info about where time is spent
in Solr during query execution. Not exactly in which classes, but in
which SearchComponents.
This can then tell if you if it's query itself that is slow or
faceting or highlighting or some custom component you have there, etc.
I ran into this as well. The SlowLog will just show you the query that is
slow, and the exact JSON query. Nothing like in Solr where you can get a
trace of each class, and how much time it has spent in that class.
I would love a feature request for this as it helps debugging immensely.
Elasticsearch execution is a bit different. Because all is segment based
and collector based, there are not different "stages" of search, all is
done while the query executes.
Yeah, what phobos182 said is what I really meant by tracing.
&debugQuery=true in Solr will show more info about where time is spent
in Solr during query execution. Not exactly in which classes, but in
which SearchComponents.
This can then tell if you if it's query itself that is slow or
faceting or highlighting or some custom component you have there, etc.
I ran into this as well. The SlowLog will just show you the query that
is
slow, and the exact JSON query. Nothing like in Solr where you can get
a
trace of each class, and how much time it has spent in that class.
I would love a feature request for this as it helps debugging
immensely.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.