Class SimilarityFactory

    • Constructor Detail

      • SimilarityFactory

        public SimilarityFactory()
    • Method Detail

      • getSimilarity

        public abstract org.apache.lucene.search.similarities.Similarity getSimilarity()
      • getNamedPropertyValues

        public SimpleOrderedMap<Object> getNamedPropertyValues()
        Returns a serializable description of this similarity(factory)
      • getClassArg

        public String getClassArg()
        Returns:
        the string used to specify the concrete class name in a serialized representation: the class arg. If the concrete class name was not specified via a class arg, returns getClass().getName(), unless this class is the anonymous similarity wrapper produced in IndexSchema, in which case the getSimilarity().getClass().getName() is returned.