Performance impact of "named-queries"

Hi Folks,

I was going through the documentation of named-queries.

In the document, it mentions the following:

This functionality reruns each named query on every hit in a search response. Typically, this adds a small overhead to a request. However, using computationally expensive named queries on a large number of hits may add significant overhead. For example, named queries in combination with a top_hits aggregation on many buckets may lead to longer response times.

I'm trying to understand the above warning message is referring to "named-query" or "named query with include_named_queries_score"?

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