Class SimilarityFactory

    • Field Detail

      • params

        protected org.apache.solr.common.params.SolrParams params
    • Constructor Detail

      • SimilarityFactory

        public SimilarityFactory()
    • Method Detail

      • init

        public void init​(org.apache.solr.common.params.SolrParams params)
      • getParams

        public org.apache.solr.common.params.SolrParams getParams()
      • getSimilarity

        public abstract getSimilarity()
      • getNamedPropertyValues

        public org.apache.solr.common.util.SimpleOrderedMap<Object> getNamedPropertyValues()
        Returns a serializable description of this similarity(factory)
      • getClassArg

        public String getClassArg()
        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.