Class Processing
- java.lang.Object
-
- com.yahoo.searchdefinition.processing.Processing
-
public class Processing extends Object
Executor of processors. This defines the right order of processor execution.- Author:
- bratseth, bjorncs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
Processing.ProcessorFactory
-
Constructor Summary
Constructors Constructor Description Processing()
Processing(com.yahoo.config.model.api.ModelContext.Properties properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.void
processRankProfiles(com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles, boolean validate, boolean documentsOnly)
Runs rank profiles processors only.
-
-
-
Method Detail
-
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
-
-