ruflin / Elastica

Elastica is a PHP client for elasticsearch
http://elastica.io/
MIT License
2.26k stars 736 forks source link

Add support for Search Option "seq_no_primary_term" and Index Options… #2234

Open ryu818 opened 3 weeks ago

ryu818 commented 3 weeks ago

… "if_primary_term" and "if_seq_no"

ryu818 commented 3 weeks ago

This change addresses issue #2232. Initially, I tried to create options using $endpoint->getParamWhitelist(), but I realized that the options are not only for the endpoint. Therefore, I made changes to add to the existing ones, minimizing the impact. Please review the changes.