Class ComplexFieldsWithStructFieldIndexesValidator
java.lang.Object
com.yahoo.vespa.model.application.validation.Validator
com.yahoo.vespa.model.application.validation.ComplexFieldsWithStructFieldIndexesValidator
Validates that complex fields (of type struct or map) do not have any struct fields with 'indexing: index'.
This is not supported and will confuse the user if not validated.
Only applies for indexed search clusters.
- Author:
- geirst
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validate
(VespaModel model, DeployState deployState) Validates the input vespamodel
-
Constructor Details
-
ComplexFieldsWithStructFieldIndexesValidator
public ComplexFieldsWithStructFieldIndexesValidator()
-
-
Method Details
-
validate
Description copied from class:Validator
Validates the input vespamodel- Specified by:
validate
in classValidator
- Parameters:
model
- a VespaModel objectdeployState
- theDeployState
built from building the model
-