You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Defaults are hardcoded into filters, basically as best guesses taken from the Perl client. Would be much better to just pass Null and let ES use the internal defaults.
This also reduces maintenance, since ES defaults can change and they will automatically propagate to Sherlock without any changes on our end.
Quick update on this: ES devs say that while Null may work, it is probably not the best solution. There are a few locations (notably "upsert" in the Update operations) where a Null is actually parsed and throws crazy errors.
They advised that parameters only be sent to ES when they are actually set. Which means considerably more work for me :(
This method take an array of parameters, checks if they
they are set in the $this->param list and returns a composed
array.
This will be used for all components so that defaults do
not need to be set, and so that null is not passed in
request bodies to ES.
Related to #30
Defaults are hardcoded into filters, basically as best guesses taken from the Perl client. Would be much better to just pass Null and let ES use the internal defaults.
This also reduces maintenance, since ES defaults can change and they will automatically propagate to Sherlock without any changes on our end.
Related to #27
The text was updated successfully, but these errors were encountered: