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

Virat/add param to optionally not refresh ES indices #2233

Merged

Conversation

virattt
Copy link
Contributor

@virattt virattt commented Mar 31, 2023

Context
Noticed a TODO in langchain/vectorstores/elastic_vector_search.py for adding the option to NOT refresh ES indices

Change
Added a param to add_texts() called refresh_indices to not refresh ES indices. The default value is True so that existing behavior does not break.

Copy link
Contributor

@hwchase17 hwchase17 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@hwchase17 hwchase17 merged commit a9dddd8 into langchain-ai:master Apr 1, 2023
9 checks passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants