OpenSearch/modules/lang-groovy
Simon Willnauer e72dac91b3 Use index UUID to lookup indices on IndicesService
Today we use the index name to lookup index instances on the IndicesService
which applied to search reqeusts but also to index deletion etc. This commit
moves the interface to expcet and `Index` instance which is a <name, uuid> tuple
and looks up the index by uuid rather than by name. This prevents accidential modificaiton
of the wrong index if and index is recreated or searching from the _wrong_ index in such a case.
Accessing an index that has the same name but different UUID will now result in an IndexNotFoundException.

Closes #17001
2016-03-09 19:42:15 +01:00
..
licenses Upgrade groovy dependency in lang-groovy module to version 2.4.6 2016-02-27 17:41:15 +01:00
src Use index UUID to lookup indices on IndicesService 2016-03-09 19:42:15 +01:00
build.gradle Upgrade groovy dependency in lang-groovy module to version 2.4.6 2016-02-27 17:41:15 +01:00