-
Notifications
You must be signed in to change notification settings - Fork 676
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
Demonstrate roundtrip export/import works #2940
base: main
Are you sure you want to change the base?
Conversation
In the future, we probably should skip copyFields...
I'd love a plus one on the this before I merge... For a lot of multi step processes, like exporting and importing data, I find modeling them as BATS tests makes them easier to understand in context. I know that moves these BATS tests towards being integration or even system style tests... I suspect that we may need to split the bats tests into system/integration/unit tests in the future.. |
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.
Cool. Love the how-to nature of a BATS test here.
@@ -1703,7 +1703,8 @@ The default is `\*:*` which will export all documents. | |||
|=== | |||
+ | |||
Comma separated list of fields to be exported. | |||
By default all fields are fetched. | |||
By default all fields are fetched. | |||
If your schema uses `copyFields` and you are reindex the data, then you probably want to specify exactly which fields are being exported to simplify the import process. |
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.
If your schema uses `copyFields` and you are reindex the data, then you probably want to specify exactly which fields are being exported to simplify the import process. | |
If your schema uses `copyFields` and you reindex the data, then you probably want to specify exactly which fields are being exported to simplify the import process. |
https://issues.apache.org/jira/browse/SOLR-13689
Description
Trying to understand best ways of round tripping data. Export from one collection and index into another collection. Use our existing tooling as much as possible.
Solution
Starting with a BATS test to demonstrate that bin/solr export and bin/solr post with .json file works.
Tests
BATS.