Class TransportSearchHelper

java.lang.Object
org.elasticsearch.action.search.TransportSearchHelper

public final class TransportSearchHelper extends Object
  • Method Details

    • checkCCSVersionCompatibility

      public static void checkCCSVersionCompatibility(Writeable writeableRequest)
      Using the 'search.check_ccs_compatibility' setting, clients can ask for an early check that inspects the incoming request and tries to verify that it can be handled by a CCS compliant earlier version, e.g. currently a N-1 version where N is the current minor. Checking the compatibility involved serializing the request to a stream output that acts like it was on the previous minor version. This should e.g. trigger errors for Writeable parts of the requests that were not available in those versions.