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

Add es resolve api #5113

Merged
merged 5 commits into from
Jun 13, 2024
Merged

Add es resolve api #5113

merged 5 commits into from
Jun 13, 2024

Conversation

kuzaxak
Copy link
Collaborator

@kuzaxak kuzaxak commented Jun 12, 2024

Description

This method is used by Opensearch Dashboards when user typing index
name in pattern creation UI.

Case that is not handled within this change is *:* pattern which should be converted to * as QuickWit do not support : in the index name.

How was this PR tested?

Tested on own cluster. Couldn't figure out how to add integration tests to cover ES functionality.

image image

This [method][1] is used by Opensearch Dashboards when user typing index
 name in pattern creation UI.

OpenSearch Dashboard makes first request with `*:*` pattern which
should be converted to `*` as QuickWit do not support `:` in the index
name. This part is not implemented within this PR.

[1]: https://www.elastic.co/guide/en/elasticsearch/reference/7.17/indices-resolve-index-api.html
Seems left over from prev development as are we
[passing](quickwit/quickwit-serve/src/elasticsearch_api/mod.rs:81)
`metastore` service.
kuzaxak and others added 2 commits June 12, 2024 19:49
Took params from `cat_indices.rs` and followed common structure of the
page.
Copy link

On SSD:

Average search latency is 0.996x that of the reference (lower is better).
Ref run id: 2074, ref commit: 0c82c9d
Link

On GCS:

Average search latency is 0.987x that of the reference (lower is better).
Ref run id: 2075, ref commit: 0c82c9d
Link

@fulmicoton fulmicoton merged commit c53558b into main Jun 13, 2024
5 checks passed
@fulmicoton fulmicoton deleted the add_es_resolve_api branch June 13, 2024 08:17
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

Successfully merging this pull request may close these issues.

None yet

2 participants