Class Lucene90BoundsChecker

    • Constructor Detail

      • Lucene90BoundsChecker

        public Lucene90BoundsChecker()
        Default Constructor
    • Method Detail

      • update

        public abstract void update​(float sample)
        Update the bound if sample is better
      • set

        public void set​(float sample)
        Update the bound unconditionally
      • check

        public abstract boolean check​(float sample)
        Check the sample
        Parameters:
        sample - a score
        Returns:
        whether the sample exceeds (is worse than) the bound
      • create

        public static Lucene90BoundsChecker create​(boolean reversed)
        Create a min or max bound checker
        Parameters:
        reversed - true for the min and false for the max
        Returns:
        the bound checker