-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
[Bug]: Elasticsearch index creation #10109
Comments
🤖 Thank you for providing detailed information about the issue you're encountering. It seems like there's a To better assist you, could you please provide the following additional information:
This information will help me understand the context better and provide a more accurate solution. This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research. Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant. If you want to continue the conversation, start your reply with @dosu-bot. |
It's doing |
Why is async being used here to create an index anyway? |
@americanthinker to avoid code duplication, it looks like all the sync methods rum the async version using If you have time to debug or make a PR, it would be greatly appreciated (I don't have access to elasticsearch to test at the moment) |
Team, I am also seeing similar (same) issue when Elasticsearch server of version 8.8 is run on local machine. But, the same is working when I am using cloud keys. Any issue in the configurations when using it locally? Please let me know if you need any details further. |
Hi, @americanthinker, I'm helping the LlamaIndex team manage their backlog and am marking this issue as stale. The issue you opened is related to a Could you please confirm if this issue is still relevant to the latest version of the LlamaIndex repository? If it is, please let the LlamaIndex team know by commenting on the issue. Otherwise, feel free to close the issue yourself, or the issue will be automatically closed in 7 days. Thank you! |
Bug Description
When trying to create an Elasticsearch index using the llamaindex
VectorStoreIndex.from_documents
method, I continuallly get aTypeError
Version
0.9.31
Steps to Reproduce
#create ES client
#create storage context
#create service context
#create index (or at least try to anyway...)
Relevant Logs/Tracbacks
The text was updated successfully, but these errors were encountered: