Class Processing
- java.lang.Object
-
- com.yahoo.searchdefinition.processing.Processing
-
public class Processing extends java.lang.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()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
process(Search search, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles, boolean validate, boolean documentsOnly)
Runs all search processors on the givenSearch
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(Search search, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles, boolean validate, boolean documentsOnly)
Runs all search processors on the givenSearch
object. These will modify the search object, possibly exchanging it with another, as well as its document types.- Parameters:
search
- The search to process.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.
-
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.
-
-