Also random() will work with any type of field. Only the /export handler
limits the field list to docValues.
Each time you call random() it will give you a different random sample.
Joel Bernstein
http://joelsolr.blogspot.com/
On Tue, Sep 19, 2017 at 10:04 PM, Joel Bernstein wrote:
> Try this c
Try this construct:
update(list(random(...), random(...), random(...)))
Joel Bernstein
http://joelsolr.blogspot.com/
On Tue, Sep 19, 2017 at 9:02 PM, Susheel Kumar
wrote:
> You can follow the sectionCreating an Alert With the Topic Streaming
> Expression" at http://joelsolr.blogspot.com/
You can follow the sectionCreating an Alert With the Topic Streaming
Expression" at http://joelsolr.blogspot.com/ and use random function for
getting random records and schedule using daemon function to retrieve
periodically etc.
Thanks,
Susheel
On Tue, Sep 19, 2017 at 4:56 PM, Erick Erickson
Webster:
I think you're looking for UpdateStream. Unfortunately the fix version
wasn't entered so you'll have to look at your particular version but
going strictly from the dates it appears in 6.0.
David:
Stored is irrelevant. Streaming only works with docValues="true"
fields and moves the docVa
I am also curious about this, specifically about indexed/non stored fields.
On Tue, Sep 19, 2017 at 3:33 PM, Webster Homer
wrote:
> Is it possible to use the streaming API to stream documents from a
> collection and load them into a new collection? I was thinking that this
> would be a great way
Is it possible to use the streaming API to stream documents from a
collection and load them into a new collection? I was thinking that this
would be a great way to get a random sample of data from our main
collections to developer machines. Making it a random sample would be
useful as well. This lo