Class FilterScorable

    • Constructor Detail

      • FilterScorable

        public FilterScorable​(Scorable in)
        Filter a scorer
        Parameters:
        in - the scorer to filter
    • Method Detail

      • score

        public float score()
                    throws java.io.IOException
        Description copied from class: Scorable
        Returns the score of the current document matching the query.
        Specified by:
        score in class Scorable
        Throws:
        java.io.IOException
      • docID

        public int docID()
        Description copied from class: Scorable
        Returns the doc ID that is currently being scored.
        Specified by:
        docID in class Scorable
      • getChildren

        public java.util.Collection<Scorable.ChildScorable> getChildren()
                                                                 throws java.io.IOException
        Description copied from class: Scorable
        Returns child sub-scorers positioned on the current document
        Overrides:
        getChildren in class Scorable
        Throws:
        java.io.IOException