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

How can I do POST query in elastic_client package?? #35

Open
leegiseong20030603 opened this issue Jan 28, 2021 · 6 comments
Open

How can I do POST query in elastic_client package?? #35

leegiseong20030603 opened this issue Jan 28, 2021 · 6 comments

Comments

@leegiseong20030603
Copy link

How can I do POST query in elastic_client package??

@isoos
Copy link
Owner

isoos commented Jan 28, 2021

@leegiseong20030603: what type of query (to which endpoint) would you like to do?

@leegiseong20030603
Copy link
Author

leegiseong20030603 commented Jan 28, 2021

https://www.elastic.co/what-is/elasticsearch-sql

It will be used for sql query search purposes.

@isoos
Copy link
Owner

isoos commented Jan 28, 2021

Have you tried the Client.search method? https://pub.dev/documentation/elastic_client/latest/elastic_client/Client/search.html

See the readme or the examples.

@leegiseong20030603
Copy link
Author

스크린샷 2021-01-29 오전 5 37 13

Currently, this is the query I will be executing, and it cannot be used because search has a type error in the elastic_client package. Please help me

@isoos
Copy link
Owner

isoos commented Jan 28, 2021

sql format is not yet supported by the package

@leegiseong20030603
Copy link
Author

Okay. Thank you so much for creating the elasticsearch Flutter package. I found a way to do a post via the dio package. Thank you so much again.

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

2 participants