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

Make creation of label index optional #490

Merged
merged 1 commit into from Oct 15, 2020
Merged

Conversation

tholor
Copy link
Member

@tholor tholor commented Oct 15, 2020

Currently, we always try to create a label index if it does not exist yet.
In some deployment scenarios this is not wanted (e.g. when no labels / eval is planned or the elasticsearch cluster is not managed by the user and he/she cannot easily create indices).

With this PR we can disable all index creation by setting create_index=False when initializting the ElasticearchDocumentStore

@tholor tholor requested a review from tanaysoni October 15, 2020 11:28
@tholor tholor merged commit ceb5c87 into master Oct 15, 2020
@julian-risch julian-risch deleted the optional_label_index branch November 15, 2021 07:07
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