Class Lucene91BoundsChecker

    • Constructor Detail

      • Lucene91BoundsChecker

        public Lucene91BoundsChecker()
        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 Lucene91BoundsChecker 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