Skip to content

Documentation for the deprecated client was DELETED #895

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

Closed
acarstoiu opened this issue Jul 7, 2019 · 4 comments
Closed

Documentation for the deprecated client was DELETED #895

acarstoiu opened this issue Jul 7, 2019 · 4 comments

Comments

@acarstoiu
Copy link

💥 Regression Report

The deprecated JS client is still in use and it has currently no official documentation. I tried to generate one locally and the procedure is not working - it crashes with

Error: spawn rm ENOENT
    at Process.ChildProcess._handle.onexit (internal/child_process.js:232:19)
    at onErrorNT (internal/child_process.js:407:16)
    at process._tickCallback (internal/process/next_tick.js:63:19)
Emitted 'error' event at:
    at Process.ChildProcess._handle.onexit (internal/child_process.js:238:12)
    at onErrorNT (internal/child_process.js:407:16)
    at process._tickCallback (internal/process/next_tick.js:63:19)

The Elasticsearch clients page should contain a link to this documentation, preferably at the same location where the Docs section within the npm page points at!

It's insane to delete the official documentation of a deprecated client less than 2 months after releasing the first production-grade version of the new client. Please allow for at least half a year of transition.

People don't just change hundreds of calls to your client in production code just because there's shiny new toy available. Not to mention that we also have patches that must be checked for applicability (and ported) on the new client.

@acarstoiu
Copy link
Author

🤔 Also, if need be, here's an example of an extremely popular open source product (akin Elasticsearch) which cares to provide documentation for versions that have long been retired (6 years +)
https://nodejs.org/en/docs/

@delvedor
Copy link
Member

delvedor commented Jul 8, 2019

Hello!
I'm sorry you had trouble using our legacy Client. Please consult this link which hosts the entire legacy documentation.
Furthermore, we are looking into a fix for this problem, see elastic/elasticsearch-js-legacy#3 and elastic/docs#964.
Are you alright with closing this issue since, as you might have seen, we are already tracking the issue elsewhere?
Wish you a nice day.

@acarstoiu
Copy link
Author

Yes, I know where the source files for the documentation reside, I did say I tried to build it.
The matter is solved, anyway, thank you!

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