-
Notifications
You must be signed in to change notification settings - Fork 12
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
TypeError: esearch.searchExists is not a function #23
Comments
It looks like the As a workaround, you should be able to request the 2.4 API using the var config = {
apiVersion = '2.4'
}
var appmetrics = require('appmetrics-elk').monitor(config); |
Solution of @seabaylea works for me |
[Mon Aug 21 18:08:45 2017] com.ibm.diagnostics.healthcenter.loader INFO: Node Application Metrics 1.2.0.201612012154 (Agent Core 3.1.0) TypeError: esearch.searchExists is not a function node -version: 6.10 I try above api version but it not working, help me |
var config = { |
I updated package.json to: This work around no longer works apparently. Maybe apiVersion can't go back that far? Any ideas? |
Getting Type error on fresh installation:
elasticsearch node module version installed with the library is 12.1.3
elasticsearch server version 5.1.1
node version v4.6.1
The text was updated successfully, but these errors were encountered: