Class SearchDataTypeValidator

java.lang.Object
com.yahoo.vespa.model.application.validation.SearchDataTypeValidator
All Implemented Interfaces:
Validator

public class SearchDataTypeValidator extends Object implements Validator
This Validator iterates through all search cluster in the given VespaModel to make sure that there are no custom structs defined in any of its search definitions.
Author:
Simon Thoresen Hult
  • Constructor Details

    • SearchDataTypeValidator

      public SearchDataTypeValidator()
  • Method Details

    • validate

      public void validate(Validation.Context context)
      Description copied from interface: Validator
      Validates the input Vespa model; illegal configuration should be reported through the context, while other problems (system error, insufficient quota, etc.) should be thrown.
      Specified by:
      validate in interface Validator