java.lang.Object
org.springframework.data.elasticsearch.support.VersionInfo

public final class VersionInfo extends Object
This class is used to log the versions of Spring Data Elasticsearch, the Elasticsearch client libs used to built, the Elasticsearch client libs currently used and of the Elasticsearch cluster. If differences greater than a patchlevel are detected, these are logged as warnings.
Since:
4.0
Author:
Peter-Josef Meisch
  • Field Details

  • Method Details

    • versionProperties

      public static Properties versionProperties()
    • logVersions

      public static void logVersions(String vendor, String runtimeLibraryVersion, @Nullable String clusterVersion)
      logs the relevant version info.
      Parameters:
      clusterVersion - the version of the cluster