OpenSearch/plugins
Ryan Ernst 2450e3ccc8 Internal: Flatten IndicesModule and add tests
The IndicesModule was made up of two submodules, one which
handled registering queries, and the other for registering
hunspell dictionaries. This change moves those into
IndicesModule. It also adds a new extension point type,
InstanceMap. This is simply a Map<K,V>, where K and V are
actual objects, not classes like most other extension points.
I also added a test method to help testing instance map extensions.
This was particularly painful because of how guice binds the key
and value as separate bindings, and then reconstitutes them
into a Map at injection time. In order to gain access to the
object which links the key and value, I had to tweak our
guice copy to not use an anonymous inner class for the Provider.

Note that I also renamed the existing extension point types, since
they were very redundant. For example, ExtensionPoint.MapExtensionPoint
is now ExtensionPoint.ClassMap.

See #12783.
2015-08-16 17:56:35 -07:00
..
analysis-icu Internal: Flatten IndicesModule and add tests 2015-08-16 17:56:35 -07:00
analysis-kuromoji Internal: Flatten IndicesModule and add tests 2015-08-16 17:56:35 -07:00
analysis-phonetic Internal: Flatten IndicesModule and add tests 2015-08-16 17:56:35 -07:00
analysis-smartcn Internal: Flatten IndicesModule and add tests 2015-08-16 17:56:35 -07:00
analysis-stempel Internal: Flatten IndicesModule and add tests 2015-08-16 17:56:35 -07:00
cloud-aws Fix ZenDiscovery ctor change to remove dynamic cluster settings 2015-08-16 10:40:13 -07:00
cloud-azure Fix ZenDiscovery ctor change to remove dynamic cluster settings 2015-08-16 10:40:13 -07:00
cloud-gce Fix ZenDiscovery ctor change to remove dynamic cluster settings 2015-08-16 10:40:13 -07:00
delete-by-query Move master to [2.1.0-SNAPSHOT] 2015-08-14 23:44:06 +02:00
jvm-example Merge pull request #12897 from nik9000/jvm-example-gets-bin 2015-08-16 10:11:23 -07:00
lang-javascript Docs: Prepare plugin and integration docs for 2.0 2015-08-15 18:02:43 +02:00
lang-python Docs: Prepare plugin and integration docs for 2.0 2015-08-15 18:02:43 +02:00
mapper-size Move master to [2.1.0-SNAPSHOT] 2015-08-14 23:44:06 +02:00
site-example Move master to [2.1.0-SNAPSHOT] 2015-08-14 23:44:06 +02:00
pom.xml Move master to [2.1.0-SNAPSHOT] 2015-08-14 23:44:06 +02:00