-
Notifications
You must be signed in to change notification settings - Fork 736
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
Add support for Search Option "seq_no_primary_term" and Index Options… #2234
base: 8.x
Are you sure you want to change the base?
Conversation
… "if_primary_term" and "if_seq_no"
This change addresses issue #2232. |
@ryu818 Really sorry for the late reply. I just started CI on it. Any chance you could add a line to the changelog? |
I have also updated the changelog. However, it seems there are some errors in the CI. I do not have a test execution environment and was unsure how to fix them. Could you please assist me with this? |
Ideally we would have some tests that test the changes. I will try to have a look if the test failures are related to this change or not. My guess it is as we just had recently a clean CI pass. About the changelog, a release went just out a few hours ago so we have a conflict now. Let me know if you want to resolve it otherwise habe to help with it. For the test suite, do you have phpunit installed? If yes, that is step one. Then to get elasticsearch running, there is a docker compose setup, here some more details how Github runs it: https://github.com/ruflin/Elastica/blob/8.x/.github/workflows/continuous-integration.yaml#L114 |
BTW this is the failure I'm worried about:
It seems the injection of |
Thank you for your response.
This error occurs when adding a document to Elasticsearch because I think it would be better to fix the part where Also, to test if |
The proposed change sounds sensible to me. Do you want to try to implement it that way and add a test? For the changelog: It seems your editor "adjusted" some of the indentation. Any change you could revert the indentation part to not have a massive diff in the changelog? |
f17ace0
to
5337e95
Compare
Regarding the indentation in the ChangeLog, I apologize for the inconvenience. Also, regarding the addition of tests, I apologize for the trouble, but could you please take care of it? |
… "if_primary_term" and "if_seq_no"