Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] - can't use special characters in the search/filter bar with dataseries indexes #117

Closed
camAtGitHub opened this issue Oct 31, 2021 · 1 comment

Comments

@camAtGitHub
Copy link

Describe the bug

On the 'Managed Indices' page /app/opensearch_index_management_dashboards#/managed-indices you can't use special characters in the search/filter bar.
For example using a period '.' is used a lot in data series index types (.ds-foo-000001 etc) and also a hypen '-' is used probably in most index names. If you input either a period or hyphen the results section immediately displays:

There are no managed indices matching your applied filters. Reset your
filters to view your managed indices.

To Reproduce
Steps to reproduce the behavior:

  1. Create an dataseries index with a hypen in the name
  2. Try and find it via the search/filter bad using the hypen.

Expected behavior

  • Return dataseries indexes when using period or hyphen in the search/filter bar.
  • Return dataseries indexes when using a star "*" in the middle of search string. eg. te*ting

Plugins
Default docker 1.1.0 image

Screenshots
None

Desktop (please complete the following information):

  • Windows 10 x64 v 2H21
  • Firefox v93.0

Additional context

  • This definitely affects data series indexes. I'm not sure about the regular index type.
  • On page: app/opensearch_index_management_dashboards#/indices a hyphen is accepted but a period is not. I cant be sure if it's just searching across the dataseries name and not the (backing) index name however.
  • Using a percent character '%' in the search/filter bar causes the results to not update anymore. I was testing URL encoded strings also example: testing%2D2021
  • Using a star "*" in the middle of search string doesn't seem valid for data series indexes, however it seems valid for other indexes on other pages (eg indices page)
@thalurur
Copy link
Contributor

Moving to frontend repo for further investigation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants