-
Notifications
You must be signed in to change notification settings - Fork 18
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
Undefined value returning var table = ES.Table(endpoint); #14
Comments
Hi, was there an answer to this question? I'm getting the same error. Thanks. |
@ram-bcll-tech to patch we'd really want a failing test. Is there any way to see if you can get that? |
Thank you for your response. I'm new to ES and was trying to follow your tutorial. This may very well be a simple usage issue. I do have the ES running on a server and I'm able to successfully query and get responses from the server on clients via HTTP.. However, when I try to embed the query in an app in a browser (Chrome Version 53.0.2785.143 (64-bit)), the code (attached) doesn't seem to go past the line, "var elasticsearch = require('elasticsearch');". I placed simple console.log messages immediately before and after this line. I see the preceding comment printed in the console, but, not the following one and there are no other messages, error or otherwise, in the console, so, I'm not able to figure out what the issue is. Thanks for any help you can provide. App.prototype.getMinorsCount = function()
requestTimeout: 30000,
}; console output: starting elasticsearch connection |
@ram-bcll-tech got you. The thing is without some error output it is tough to debug. Do you see any error messages in the console? |
Sorry, i thought I had responded to your last note, but, i don't see it online. To answer your last question, no, I don't see any error messages. This is what has me stumped as well. |
No, unfortunately the only message in the console is the console.log Thanks for your help. Best regards, Here's the entire function (stripped down for simplicity): PTApp.prototype.getMinorsCount = function()
console.log("leaving elasticsearch connection"); On Thu, Oct 20, 2016 at 8:56 AM, Rufus Pollock [email protected]
|
Hello,
Trying to follow your example, but getting 'undefined value' error from
ES.Table()
function. You can try the below sample code and put a break point nere the 'problem here' statement and verify the problem.The text was updated successfully, but these errors were encountered: