Class ScoreNodesStream

java.lang.Object
org.apache.solr.client.solrj.io.stream.TupleStream
org.apache.solr.client.solrj.io.stream.ScoreNodesStream
All Implemented Interfaces:
Closeable, Serializable, AutoCloseable, Expressible, org.apache.solr.common.MapSerializable, org.apache.solr.common.MapWriter, org.apache.solr.common.NavigableObject, org.noggit.JSONWriter.Writable

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: