Class RandomStream

  • 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 RandomStream
    extends TupleStream
    implements Expressible
    The RandomStream emits a stream of pseudo random Tuples that match the query parameters. Sample expression syntax: random(collection, q="Hello word", rows="50", fl="title, body")
    Since:
    6.1.0
    See Also:
    Serialized Form