Class GlobalPhase

java.lang.Object
com.yahoo.search.query.ranking.GlobalPhase
All Implemented Interfaces:
Cloneable

public class GlobalPhase extends Object implements Cloneable
The global-phase ranking settings of this query.
Author:
arnej
  • Constructor Details

    • GlobalPhase

      public GlobalPhase()
  • Method Details

    • getArgumentType

      public static QueryProfileType getArgumentType()
    • setRerankCount

      public void setRerankCount(int rerankCount)
      Sets the number of hits for which the global-phase function will be evaluated. When set, this overrides the setting in the rank profile.
    • getRerankCount

      public Integer getRerankCount()
      Returns the rerank-count that will be used, or null if not set
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • clone

      public GlobalPhase clone()
      Overrides:
      clone in class Object