-
Notifications
You must be signed in to change notification settings - Fork 68
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
request: configuration option to enable multiple invenio instances to share an elasticsearch instance #129
Comments
This could be done with prefixes, allowing then to use cern hosted elasticsearch too right? |
@dfdan's use case was more about multi-tenancy (where ES prefixing is the main blocker atm for Invenio) |
ntarocco
added a commit
that referenced
this issue
Feb 18, 2019
* prefix are not added multiple times to indices anymore * partially addresses #129
ntarocco
added a commit
that referenced
this issue
Feb 18, 2019
* prefix are not added multiple times to indices anymore * partially addresses #129
lnielsen
pushed a commit
that referenced
this issue
Feb 21, 2019
* prefix are not added multiple times to indices anymore * partially addresses #129
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It is easy to configure multiple invenio instances to share the same PostgreSQL and Redis servers, by separating their data with different postgres roles / redis URLs. However, this is not currently possible with ElasticSearch as it lacks any sort of namespacing, and index names will collide if you point 2 invenio instances at the same elasticsearch instance.
We are trying to work around this by manually specifying different index names for each instance, however this is fiddily.
Would it be possible to add an invenio-search configuration option that specifies a (unique) prefix to be used by a particular invenio instance? Or is there a better way to do this?
The text was updated successfully, but these errors were encountered: