[
https://issues.apache.org/jira/browse/SOLR-8996?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15248049#comment-15248049
]
Joel Bernstein edited comment on SOLR-8996 at 4/19/16 4:06 PM:
---------------------------------------------------------------
I do plan on putting this in 6x along with SOLR-8925. I was planning on
backporting this week, but I can move this along faster if I'm blocking
progress.
Can you make your changes in master and then we can backport everything to 6x
as the next step?
was (Author: joel.bernstein):
I do plan on putting this in 6x along with SOLR-8925. I was planning on back
porting this week, but I can move this along faster if I'm blocking progress.
Can you make your changes in trunk and then we backport everything to 6x as the
next step?
> Add Random Streaming Expression
> -------------------------------
>
> Key: SOLR-8996
> URL: https://issues.apache.org/jira/browse/SOLR-8996
> Project: Solr
> Issue Type: New Feature
> Reporter: Joel Bernstein
> Assignee: Joel Bernstein
> Fix For: 6.1
>
> Attachments: RandomStream.java, SOLR-8996.patch
>
>
> The random Streaming Expression will return a *limited* random stream of
> Tuples that match a query. This will be useful in many different scenarios
> where random data sets are needed.
> Proposed syntax:
> {code}
> random(baskets, q="productID:productX", rows="100", fl="basketID")
> {code}
> The sample code above will query the *baskets* collection and return 100
> random *basketID's* where the productID is productX.
> The underlying implementation will rely on Solr's random field type.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]