You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
under the hood, this search will use simple_query_string syntax to do query. If workspace name contains operators of simple_query_string, it will get parsed and not treat as literal value as workspace name.
An example, if we have workspace name foo bar that will parsed to workspace name is foo or workspace is bar, that will duplicate with existing workspace named foo.
Describe the bug
Workspace name suppose to be unique across the system, we have add a unique check https://github.com/opensearch-project/OpenSearch-Dashboards/blob/main/src/plugins/workspace/server/workspace_client.ts#L94-L103
under the hood, this search will use
simple_query_string
syntax to do query. If workspace name contains operators ofsimple_query_string
, it will get parsed and not treat as literal value as workspace name.An example, if we have workspace name
foo bar
that will parsed to workspace name isfoo
or workspace isbar
, that will duplicate with existing workspace namedfoo
.To resolve this, we might need to support limit the operators as
NONE
, reference: https://opensearch.org/docs/latest/query-dsl/full-text/simple-query-string/#limit-operatorsTo Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
OpenSearch Version
Please list the version of OpenSearch being used.
Dashboards Version
Please list the version of OpenSearch Dashboards being used.
Plugins
Please list all plugins currently enabled.
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):
Additional context
#4944
The text was updated successfully, but these errors were encountered: