elastic / elasticsearch

Free and Open Source, Distributed, RESTful Search Engine
https://www.elastic.co/products/elasticsearch
Other
1.07k stars 24.84k forks source link

Add DFS phase to the search stats #99340

Open jimczi opened 1 year ago

jimczi commented 1 year ago

Description

The search stats show how many and how long queries and fetches take. But when the knn search happens in the DFS phase, these stats don't include it. This might confuse people because it's not clear that the most resource-heavy part of vector search isn't happening during the queries. To fix this, we should include these stats and use a clearer name in the output instead of 'DFS.

elasticsearchmachine commented 1 year ago

Pinging @elastic/es-search (Team:Search)

elasticsearchmachine commented 4 months ago

Pinging @elastic/es-search-relevance (Team:Search Relevance)