Class ScoreNodesStream

  • All Implemented Interfaces:
    Closeable, Serializable, AutoCloseable, Expressible, org.apache.solr.common.MapSerializable, org.apache.solr.common.MapWriter, org.apache.solr.common.NavigableObject

    public class ScoreNodesStream
    extends TupleStream
    implements Expressible
    Iterates over a gatherNodes() expression and scores the Tuples based on tf-idf.

    Expression Syntax:

    Default function call uses the "count(*)" field for termFreq.

    You can use a different value for termFreq by providing the termFreq param scoreNodes(gatherNodes(...), termFreq="min(weight)")

    Since:
    6.2.0
    See Also:
    Serialized Form