lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-8996) Add Random Streaming Expression
Date Thu, 05 May 2016 23:52:12 GMT

    [ https://issues.apache.org/jira/browse/SOLR-8996?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15273331#comment-15273331
] 

ASF subversion and git services commented on SOLR-8996:
-------------------------------------------------------

Commit ff565317621287c174ad42f2af9fdcc7b221eff3 in lucene-solr's branch refs/heads/master
from [~dpgove]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=ff56531 ]

SOLR-8996: Greatly decreases the probability of a RandomStream test failure from 1 in 5! to
1 in 1000!


> 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: Dennis Gove
>             Fix For: 6.1
>
>         Attachments: RandomStream.java, SOLR-8996-decrease-failure-probability.patch,
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message