Query search maximum time


(robin thakur) #1

hi,

Is there any API in elastic search to get information regarding the query
which is search maximum time, menas this query has maximum hit counts.

thanks

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/a0725da5-57bb-42d7-ad57-890ea7e64a0f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(mkleen) #2

Hi robin,

have a look at
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/index-modules-slowlog.html

Michael

On 25 March 2014 09:07, robin thakur thakurrobin7@gmail.com wrote:

hi,

Is there any API in elastic search to get information regarding the query
which is search maximum time, menas this query has maximum hit counts.

thanks

--
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.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/a0725da5-57bb-42d7-ad57-890ea7e64a0f%40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/a0725da5-57bb-42d7-ad57-890ea7e64a0f%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAALawn5uWF%3D1i%2BysEFoYVOGnHLGCL0AS2cDTk960mNJ4EL%3Ds6g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(robin thakur) #3

Hi mkleen,

I am not getting answer, I want to know that whether elastic search store
the query history in itself. So that I get the history of all queries with
there count

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/1f1b2e4e-9b2b-4a6d-8418-26c2f15b6ee6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Binh Ly-2) #4

It is possible to turn on query slowlog log to get what you want. For
example, you can go into the ES.yml file, and set this line (restart ES):

index.search.slowlog.threshold.query.warn: 1ms

And that will likely log all queries that you run into the slowlog.log file.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/dfbd98bd-f156-4a50-b087-6060249a0d8e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #5