-
Notifications
You must be signed in to change notification settings - Fork 919
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
[Enhancement] Incremental search in Saved Objects page #3272
Comments
@snmore1990 Thanks for opening this issue. Also appreciate you volunteering to help implement this change and would love to support you in submitting that change if we do decide to implement it. I wouldn't categorize this however as a bug since the search here is closer to the Query search for Dashboards as opposed to a regular search bar (Selecting a type from the drop down will show you that). It is also a search that refetches the data everytime the search value changes which can be expensive. That actually leads to my concerns about enabling incremental search here and would love to hear thoughts from you and others about it. This search unlike other searches in the management page refetches all saved object data since we only have access to the paginated data in the beginning. This is because there can be large number of saved objects with new ones being added all the time. I breifly enabled it myself and noticed that the search was not as responsive as i expected and resulted in a lot of queries being made to the backend. Debouncing the query will help, but that would require making a change to the underlying EUI (Now OUI) component |
@ashwin-pc @snmore1990 This seems somewhat related to the feature for exteneded Dashboard Lists #1866 It might be worth noting the (not so central) use case of OS as a secondary index to large OLTP datasets. If direct query of SavedObjects turns out to be truly a performance issue, we may need to have an architectural discussion around what a secondary index of |
Describe the bug
In OpenSearch Dashboard when we navigate to Hamburger Menu -> Stack Management -> Saved Objects and try to search any listed items we don't see filtered results as we type, in case of other search boxes present on other pages the incremental search is working as expected.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It should show filtered result from the listed items as we type in search box
OpenSearch Version
version: 2.4.1
Dashboards Version
"version": "2.0.0" & "version": "3.0.0"
Plugins
Not enabled any plugin, using the default settings
Screenshots
Host/Environment (please complete the following information):
Additional context
Would like to contribute to repository to fix this bug in order to make search box behavior consistent across application
The text was updated successfully, but these errors were encountered: