-
Notifications
You must be signed in to change notification settings - Fork 920
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] Dev tools console autocomplete doesn't work well with aliases #5567
Comments
kishor82
added a commit
to kishor82/OpenSearch-Dashboards
that referenced
this issue
Dec 3, 2023
kishor82
added a commit
to kishor82/OpenSearch-Dashboards
that referenced
this issue
Dec 3, 2023
5 tasks
kishor82
added a commit
to kishor82/OpenSearch-Dashboards
that referenced
this issue
Dec 3, 2023
kishor82
added a commit
to kishor82/OpenSearch-Dashboards
that referenced
this issue
Dec 4, 2023
Signed-off-by: kishor82 <[email protected]>
@kishor82 Thanks for the quick fix! I'll take a look at the PR in the next couple days. Do you mind adding a comment here so I can assign you? |
kishor82
added a commit
to kishor82/OpenSearch-Dashboards
that referenced
this issue
Dec 6, 2023
Signed-off-by: kishor82 <[email protected]>
kishor82
added a commit
to kishor82/OpenSearch-Dashboards
that referenced
this issue
Dec 6, 2023
Signed-off-by: kishor82 <[email protected]>
kishor82
added a commit
to kishor82/OpenSearch-Dashboards
that referenced
this issue
Dec 7, 2023
Signed-off-by: kishor82 <[email protected]>
@joshuarrrr Thanks for checking it out! I've added a comment as requested. If there's anything specific you'd like me to address or if you have any further questions, feel free to let me know. |
Looks like this bug was introduced in v2.9.0 via #4008 |
kishor82
added a commit
to kishor82/OpenSearch-Dashboards
that referenced
this issue
Dec 12, 2023
Signed-off-by: kishor82 <[email protected]>
kishor82
added a commit
to kishor82/OpenSearch-Dashboards
that referenced
this issue
Dec 12, 2023
Signed-off-by: Kishor Rathva <[email protected]>
kishor82
added a commit
to kishor82/OpenSearch-Dashboards
that referenced
this issue
Dec 13, 2023
Signed-off-by: Kishor Rathva <[email protected]>
kishor82
added a commit
to kishor82/OpenSearch-Dashboards
that referenced
this issue
Dec 13, 2023
Signed-off-by: Kishor Rathva <[email protected]>
kishor82
added a commit
to kishor82/OpenSearch-Dashboards
that referenced
this issue
Dec 13, 2023
Signed-off-by: Kishor Rathva <[email protected]>
kishor82
added a commit
to kishor82/OpenSearch-Dashboards
that referenced
this issue
Dec 14, 2023
Signed-off-by: Kishor Rathva <[email protected]>
ananzh
pushed a commit
that referenced
this issue
Dec 14, 2023
* fix: Dev tools console autocomplete issue #5567 * Added CHANGELOG * Added test for retrieveAutoCompleteInfo * Refactored tests * Added suggested changes. --------- Signed-off-by: Kishor Rathva <[email protected]>
opensearch-trigger-bot bot
pushed a commit
that referenced
this issue
Dec 14, 2023
* fix: Dev tools console autocomplete issue #5567 * Added CHANGELOG * Added test for retrieveAutoCompleteInfo * Refactored tests * Added suggested changes. --------- Signed-off-by: Kishor Rathva <[email protected]> (cherry picked from commit a5c45a3) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
manasvinibs
pushed a commit
that referenced
this issue
Dec 14, 2023
* fix: Dev tools console autocomplete issue #5567 * Added CHANGELOG * Added test for retrieveAutoCompleteInfo * Refactored tests * Added suggested changes. --------- (cherry picked from commit a5c45a3) Signed-off-by: Kishor Rathva <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
The console autocomplete doesn't work well with aliases. For example, if I have an alias called
alias
to a index calledindex
, if I try to type in requests related to thealias
alias, I won't get very much autocomplete. For example, if I start typing inGET alias
, I won't get auto-completion onalias
. Further, if I try creating a search request on that alias, I won't get auto-completion on field names.To Reproduce
Create an index and populate it with data
Create an alias pointing to the index
Go to dev tools console
Type in
GET [alias name]/_search
and notice you don't get auto-completion on the alias nameStart writing in a search query. I used:
Notice in the empty string you don't get auto-completion on field names.
Now try steps 4-5 with the index instead of the alias and notice auto-completion works as expected.
Expected behavior
I would expect autocomplete to work the same as if I were using an index rather than alias.
OpenSearch Version
2.8.0
Dashboards Version
Main
Plugins
OSD:
OS: Everything included with the tarball distribution
Screenshots
(I should be getting an autocomplete prompt for the field name)
Host/Environment (please complete the following information):
Additional context
This seems to have worked in a previous release, although I haven't done extensive testing to figure out where.
The text was updated successfully, but these errors were encountered: