Package com.yahoo.schema.processing
Class Processing
java.lang.Object
com.yahoo.schema.processing.Processing
Executor of processors. This defines the right order of processor execution.
- Author:
- bratseth, bjorncs
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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 givenSchema
object.void
processRankProfiles
(com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles, boolean validate, boolean documentsOnly) Runs rank profiles processors only.
-
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 givenSchema
object. These will modify the search object, possibly exchanging it with another, as well as its document types.- Parameters:
schema
- the search to processdeployLogger
- the log to log messages and warnings for application deployment torankProfileRegistry
- aRankProfileRegistry
queryProfiles
- the query profiles contained in the application this search is part ofprocessorsToSkip
- 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 torankProfileRegistry
- aRankProfileRegistry
queryProfiles
- the query profiles contained in the application this search is part of
-