Class Processing

java.lang.Object
com.yahoo.schema.processing.Processing

public class Processing extends Object
Executor of processors. This defines the right order of processor execution.
Author:
bratseth, bjorncs
  • Constructor Details

    • Processing

      public Processing()
    • Processing

      public Processing(com.yahoo.config.model.api.ModelContext.Properties properties)
  • Method Details

    • process

      public void process(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles, boolean validate, boolean documentsOnly, Set<Class<? extends Processor>> processorsToSkip)
      Runs all search processors on the given Schema object. These will modify the search object, possibly exchanging it with another, as well as its document types.
      Parameters:
      schema - the search to process
      deployLogger - the log to log messages and warnings for application deployment to
      rankProfileRegistry - a RankProfileRegistry
      queryProfiles - the query profiles contained in the application this search is part of
      processorsToSkip - a set of processor classes we should not invoke in this. Useful for testing.
    • processRankProfiles

      public void processRankProfiles(com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles, boolean validate, boolean documentsOnly)
      Runs rank profiles processors only.
      Parameters:
      deployLogger - the log to log messages and warnings for application deployment to
      rankProfileRegistry - a RankProfileRegistry
      queryProfiles - the query profiles contained in the application this search is part of