code: @Override
    public TransportRequestOptions transportOptions(Settings settings) {
      return TransportRequestOptions.builder()
              .withType(TransportRequestOptions.Type.REG)
              .build();
    }
docs: Set transport options specific to a terms by query request.
  Enabling compression here does not really reduce data transfer, even increase it on the contrary.
  
  @param settings node settings
  @return the request options.