Class Similarity.SimWeight

  • Direct Known Subclasses:
    Enclosing class:

    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.)