OpenSearch/plugins
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
..
analysis-icu Upgrade to Lucene 8.1.0 (#42214) 2019-05-23 11:46:45 +02:00
analysis-kuromoji Upgrade to Lucene 8.1.0 (#42214) 2019-05-23 11:46:45 +02:00
analysis-nori Upgrade to Lucene 8.1.0 (#42214) 2019-05-23 11:46:45 +02:00
analysis-phonetic Upgrade to Lucene 8.1.0 (#42214) 2019-05-23 11:46:45 +02:00
analysis-smartcn Improve documentation for smart_cn analyzer (#42822) 2019-06-10 08:59:30 -04:00
analysis-stempel Fix compile issue of earlier commit on 7.x 2019-06-03 13:36:20 +02:00
analysis-ukrainian Upgrade to Lucene 8.1.0 (#42214) 2019-05-23 11:46:45 +02:00
discovery-azure-classic Mute AzureDiscoveryClusterFormationTests (#43049) 2019-06-10 17:39:42 +02:00
discovery-ec2 Remove Log4j 1.2 API as a dependency (#42702) 2019-05-30 16:08:07 -04:00
discovery-gce Remove Log4j 1.2 API as a dependency (#42702) 2019-05-30 16:08:07 -04:00
examples Fix suggestions for empty indices (#42927) 2019-06-12 15:42:23 +02:00
ingest-attachment [Backport] Improve build configuration time (#42674) 2019-05-30 10:29:42 -07:00
mapper-annotated-text Simplify handling of keyword field normalizers (#42002) 2019-05-10 14:38:46 +01:00
mapper-murmur3 Small refactorings to analysis components (#40745) 2019-04-03 14:22:16 +02:00
mapper-size Remove -Xlint exclusions in all plugins. (#40721) 2019-04-04 08:30:34 +02:00
repository-azure Add Infrastructure to Run 3rd Party Repository Tests (#42586) (#42604) 2019-05-28 10:46:22 +02:00
repository-gcs Wipe repositories more often (#42511) 2019-06-12 11:58:38 +02:00
repository-hdfs Remove Log4j 1.2 API as a dependency (#42702) 2019-05-30 16:08:07 -04:00
repository-s3 Wipe repositories more often (#42511) 2019-06-12 11:58:38 +02:00
store-smb Remove IndexStore and DirectoryService (#42446) 2019-05-24 12:14:56 +02:00
transport-nio [Backport] Remove dependency substitutions 7.x (#42866) 2019-06-04 13:50:23 -07:00
build.gradle Testclsuters: convert plugins qa projects (#41496) 2019-04-26 08:57:52 -07:00