-
Notifications
You must be signed in to change notification settings - Fork 32
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
SO-4122: index schema migration support #1249
Conversation
...so that they can be used even if the actual index name is different for a mapping than the real one (useful when running migrations).
Introduce init(Searcher) method to allow caching of services and global data when migrating an index.
Codecov ReportAttention:
Additional details and impacted files
☔ View full report in Codecov by Sentry. |
commons/com.b2international.index/src/com/b2international/index/es/EsDocumentWriter.java
Outdated
Show resolved
Hide resolved
commons/com.b2international.index/src/com/b2international/index/es/admin/EsIndexAdmin.java
Outdated
Show resolved
Hide resolved
commons/com.b2international.index/src/com/b2international/index/es/admin/EsIndexAdmin.java
Outdated
Show resolved
Hide resolved
commons/com.b2international.index/src/com/b2international/index/es/admin/EsIndexAdmin.java
Outdated
Show resolved
Hide resolved
commons/com.b2international.index/src/com/b2international/index/es/admin/EsIndexAdmin.java
Outdated
Show resolved
Hide resolved
commons/com.b2international.index/src/com/b2international/index/es/admin/EsIndexAdmin.java
Outdated
Show resolved
Hide resolved
commons/com.b2international.index/src/com/b2international/index/es/admin/EsIndexAdmin.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good to me, some minor suggestions in the comments!
commons/com.b2international.index/src/com/b2international/index/es/admin/EsIndexAdmin.java
Outdated
Show resolved
Hide resolved
commons/com.b2international.index/src/com/b2international/index/es/admin/EsIndexAdmin.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
This PR adds a very basic, index schema migrator functionality to aid existing indices to migrate to a newer schema version.