Elasticsearch search speed


(taewooKim) #1

I know that elasticsearch has a search time of around one second.

Here is an answer.
If there is no search condition and there is one condition, is there a difference in search speed?


(Christian Dahlqvist) #2

Elasticsearch does not have a search time of around one second. What you are referring to is probably the default refresh interval (default is 1 second), which determines how quickly indexed or updated documents are available to be searched. This does however not relate to query performance.


(taewooKim) #3

Thank you!! So, with and without search conditions, search speed is not affected.


(Christian Dahlqvist) #4

I am not sure I understand your question. The type of search can naturally affect the latency, but the refresh interval typically does not.


(taewooKim) #5

I wonder if the speed of the search by checking whether the value of type 'a' is 'b' is the same as the speed of searching the whole index without checking.
"query": { "match_all": {}} vs "query": { "match": { "account_number": 20 } }


(system) #6

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.