Class Processing


  • public class Processing
    extends java.lang.Object
    Executor of processors. This defines the right order of processor execution.
    Author:
    bratseth, bjorncs
    • 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 given Search object.
      void processRankProfiles​(com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles, boolean validate, boolean documentsOnly)
      Runs rank profiles processors only.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Processing

        public Processing()
    • 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 given Search 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 to
        rankProfileRegistry - a RankProfileRegistry
        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 to
        rankProfileRegistry - a RankProfileRegistry
        queryProfiles - The query profiles contained in the application this search is part of.