Anurag-S1ngh commented on code in PR #77095:
URL: https://github.com/apache/airflow/pull/77095#discussion_r4581771249
##########
airflow-core/src/airflow/config_templates/config.yml:
##########
@@ -2048,6 +2048,15 @@ api:
type: boolean
example: ~
default: "False"
+ default_match_anywhere:
+ description: |
+ Default search mode for DAG and task search in the web UI. When set to
``True``, search
Review Comment:
Fixed, switched to Dag.
##########
airflow-core/src/airflow/config_templates/config.yml:
##########
@@ -2048,6 +2048,15 @@ api:
type: boolean
example: ~
default: "False"
+ default_match_anywhere:
+ description: |
+ Default search mode for DAG and task search in the web UI. When set to
``True``, search
+ filters match anywhere in the name (substring) instead of only at the
start (prefix).
+ Users can still toggle the mode per search and save their own default
in Settings.
Review Comment:
Good point, added a note that match anywhere cannot use database indexes and
may be slower on large deployments.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]