[Feature Request] Enabling phase_took_enabled as a Search request parameter #14023
Labels
enhancement
Enhancement or improvement to existing feature or request
Search
Search query, autocomplete ...etc
untriaged
Is your feature request related to a problem? Please describe
I came across this setting
phase_took_enabled
which I liked very much, but this is a cluster level setting and once it is added the setting is enabled for all searches, which is not my usecase. My usecase is I want to get this breakdown of phase level took time for few of my expensive queries hence I want to control this setting via URL parameter of search api.Similar thing is available for
default_allow_partial_results
where either I can set this as a setting or pass this as a URL parameter in search.Ref docs: https://opensearch.org/docs/latest/install-and-configure/configuring-opensearch/search-settings/
Describe the solution you'd like
Make the setting
phase_took_enabled
also a URL parameter for Search api.Related component
Search
Describe alternatives you've considered
NA
Additional context
Ref docs: https://opensearch.org/docs/latest/install-and-configure/configuring-opensearch/search-settings/
The text was updated successfully, but these errors were encountered: