OpenSearch/plugins/examples
Christoph Büscher 7f690e8606 Fix suggestions for empty indices (#42927)
Currently suggesters return null values on empty shards. Usually this gets replaced
by results from other non-epmty shards, but if the index is completely epmty (e.g. after
creation) the search responses "suggest" is also "null" and we don't render a corresponding
output in the REST response. This is an irritating edge case that requires special handling on
the user side (see #42473) and should be fixed.

This change makes sure every suggester type (completion, terms, phrase) returns at least an
empty skeleton suggestion output, even for empty shards. This way, even if we don't find
any suggestions anywhere, we still return and output the empty suggestion.

Closes #42473
2019-06-12 15:42:23 +02:00
..
custom-settings Testclusters: support for security and convert example plugins (#41864) 2019-05-08 14:04:00 +03:00
custom-suggester Fix suggestions for empty indices (#42927) 2019-06-12 15:42:23 +02:00
painless-whitelist Testclusters: support for security and convert example plugins (#41864) 2019-05-08 14:04:00 +03:00
rescore Testclusters: support for security and convert example plugins (#41864) 2019-05-08 14:04:00 +03:00
rest-handler remove path from rest-api-spec (#41452) (#43084) 2019-06-11 12:52:36 +02:00
script-expert-scoring Testclusters: support for security and convert example plugins (#41864) 2019-05-08 14:04:00 +03:00
security-authorization-engine Testclusters: support for security and convert example plugins (#41864) 2019-05-08 14:04:00 +03:00
build.gradle [Backport] Remove dependency substitutions 7.x (#42866) 2019-06-04 13:50:23 -07:00