public interface VersionExtension
Allows plugging in current version elements.
-
Method Summary
Modifier and TypeMethodDescriptiongetCurrentIndexVersion
(IndexVersion fallback) Returns theIndexVersion
that Elasticsearch should use.Returns additionalTransportVersion
defined by extension
-
Method Details
-
getTransportVersions
Collection<TransportVersion> getTransportVersions()Returns additionalTransportVersion
defined by extension -
getCurrentIndexVersion
Returns theIndexVersion
that Elasticsearch should use.This must be at least as high as the given fallback.
- Parameters:
fallback
- The latest index version from server
-