OpenSearch/plugins/examples
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
..
custom-settings Replace jvm-example by two plugin examples (#28339) 2018-01-26 17:34:24 +01:00
custom-suggester serialize suggestion responses as named writeables (#30284) 2018-08-07 13:31:00 -07:00
painless-whitelist Add support for switching distribution for all integration tests (#30874) 2018-06-26 06:49:03 -07:00
rescore Add support for switching distribution for all integration tests (#30874) 2018-06-26 06:49:03 -07:00
rest-handler [Test] Fix :example-plugins:rest-handler on Windows 2018-06-18 10:49:22 +02:00
script-expert-scoring Add support for switching distribution for all integration tests (#30874) 2018-06-26 06:49:03 -07:00
build.gradle Remove assemble from build task when assemble removed 2017-06-16 17:19:14 -04:00