Class Feature.FeatureWeight.FeatureScorer

    • Nested Class Summary

      • Nested classes/interfaces inherited from class
    • Field Summary

      Modifier and Type Field Description
      protected itr  
      protected String name  
      • Fields inherited from class

    • Field Detail

      • name

        protected final String name
      • itr

        protected final itr
    • Constructor Detail

      • FeatureScorer

        public FeatureScorer​(Feature.FeatureWeight weight,
    • Method Detail

      • score

        public abstract float score()
                             throws IOException
        Specified by:
        score in class
      • setDocInfo

        public void setDocInfo​(DocInfo docInfo)
        Used to provide context from initial score steps to later reranking steps.
      • getDocInfo

        public DocInfo getDocInfo()
      • docID

        public int docID()
        Specified by:
        docID in class
      • iterator

        public iterator()
        Specified by:
        iterator in class