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

Can I use elastic.v7 with Elasticsearch 8.x for basic ES operations #1631

Closed
cmadarsh opened this issue Jul 18, 2022 · 3 comments
Closed

Can I use elastic.v7 with Elasticsearch 8.x for basic ES operations #1631

cmadarsh opened this issue Jul 18, 2022 · 3 comments

Comments

@cmadarsh
Copy link

Which version of Elastic are you using?

elastic.v7 (for Elasticsearch 8.x)

Problem statement

Tried implementing elastic v7 with Elasticsearch version 8.x, and its working fine.

Please describe the actual behavior

Basic connectivity and ES CRUD operations are working fine.

Query?

As basic things are working fine, what issues I can anticipate with this combination of versions elastic.v7 with elasticsearch 8.x?

@olivere
Copy link
Owner

olivere commented Jul 18, 2022

Just can certainly try, but you're much better off using the official client.

@olivere olivere closed this as completed Jul 18, 2022
@cmadarsh
Copy link
Author

cmadarsh commented Jul 19, 2022

Thanks Olivere..
I basically needed a library with which I can build a wrapper for dynamic query generation and as this library provides structs for queries, mainly on nested and inner hits, it would help me. Official client does not provide structs, need to provide direct JSON queries.

The library is very good, for my usage, can I expect elastic v8 next year?

@olivere
Copy link
Owner

olivere commented Jul 19, 2022

@cmadarsh Have you seen the latest changes to the official client that come with the typed client? It has a proper DSL now: For the requests now, for responses later.

As for Elastic v8: That won't happen. See my latest update in #1533.

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