Class Similarity.SimWeight

  • Direct Known Subclasses:
    BasicStats
    Enclosing class:
    Similarity

    public abstract static class Similarity.SimWeight
    extends Object
    Stores the weight for a query across the indexed collection. This abstract implementation is empty; descendants of Similarity should subclass SimWeight and define the statistics they require in the subclass. Examples include idf, average field length, etc.
    • Constructor Detail

      • SimWeight

        public SimWeight()
        Sole constructor. (For invocation by subclass constructors, typically implicit.)