Multiple enhancements to support more flexibility in configuration#75
Open
jguertin-gls wants to merge 3 commits intomstein:masterfrom
Open
Multiple enhancements to support more flexibility in configuration#75jguertin-gls wants to merge 3 commits intomstein:masterfrom
jguertin-gls wants to merge 3 commits intomstein:masterfrom
Conversation
This will allow properties such as transients to be index, when in the "only" clause
…This is done by adding a new indexId attribute to searchable that can be used to specify which fields to use as the index id.
…lock to ensure that the correct session is used to obtain the instance count
Contributor
Author
There was a problem hiding this comment.
By default, indentityProperties will behave as it did before, using the identifier as the sole property for indexId.
Contributor
Author
|
This change will allow for an 'indexId' property to be added to the searchable closure. This value can either except a string, a list of properties or a map. The properties listed in 'indexId' will be concatenated together to form the _id value in the index, with a separator between them. The default separator will be ':', but this too may be overriden. Here are some examples of what it may look like, within searchable {}: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This change set address a few issues, which were implemented by us specifically to support the ability to have indexes that support multi-tenant databases. Specifically, we did the following: