Class HnswValidator

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

public class HnswValidator extends Object implements Validator
Validates hnsw settings and warns if using hnsw and having searchable copies > 1 for a content cluster
Author:
hmusum
  • Constructor Details

    • HnswValidator

      public HnswValidator()
  • 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