OpenSearch/client
Andy Bristol 8bfb0f3f8d
serialize suggestion responses as named writeables (#30284)
Suggestion responses were previously serialized as streamables which
made writing suggesters in plugins with custom suggestion response types
impossible. This commit makes them serialized as named writeables and
provides a facility for registering a reader for suggestion responses
when registering a suggester.

This also makes Suggestion responses abstract, requiring a suggester
implementation to provide its own types. Suggesters which do not need
anything additional to what is defined in Suggest.Suggestion should
provide a minimal subclass.

The existing plugin suggester integration tests are removed and
replaced with an equivalent implementation as an example
plugin.
2018-08-07 13:31:00 -07:00
..
benchmark Build: Remove shadowing from benchmarks (#32475) 2018-07-31 17:31:13 -04:00
client-benchmark-noop-api-plugin Reduce number of raw types warnings (#31523) 2018-06-25 15:59:03 +02:00
rest Enable testing in FIPS140 JVM (#31666) 2018-07-17 10:54:10 +03:00
rest-high-level serialize suggestion responses as named writeables (#30284) 2018-08-07 13:31:00 -07:00
sniffer REST Client: NodeSelector for node attributes (#31296) 2018-06-15 08:04:54 -04:00
test Detect and prevent configuration that triggers a Gradle bug (#31912) 2018-07-19 06:46:58 +00:00
transport Remove unnecessary warning supressions (#32250) 2018-07-23 11:31:04 +02:00