You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Joel Bernstein (JIRA)" <ji...@apache.org> on 2016/04/15 20:22:25 UTC

[jira] [Assigned] (SOLR-8996) Add Random Streaming Expression

     [ https://issues.apache.org/jira/browse/SOLR-8996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joel Bernstein reassigned SOLR-8996:
------------------------------------

    Assignee: Joel Bernstein

> 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
>
>
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org