lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joel Bernstein <joels...@gmail.com>
Subject Re: Random Streaming Function not there? SolrCloud 6.3.0
Date Wed, 04 Jan 2017 00:59:05 GMT
This is a bug. I just checked and the random expression is not mapped in
the /stream handler. The test cases pass because they register the random
function explicitly inside the test case. This is something that we need to
fix, so the /stream handler registration always gets tested.

I'm fairly sure I remember testing random at scale through the /stream
handler so I'm not sure how this missed getting committed.

I will fix this for Solr 6.4.

Joel Bernstein
http://joelsolr.blogspot.com/

On Tue, Jan 3, 2017 at 6:46 PM, Joe Obernberger <
joseph.obernberger@gmail.com> wrote:

> I'm getting an error:
>
> {"result-set":{"docs":[
> {"EXCEPTION":"Invalid stream expression random(MAIN,q=\"FULL_DOCUMENT:
> obamacare\",rows=100,fl=DocumentId) - function 'random' is unknown (not
> mapped to a valid TupleStream)","EOF":true}]}}
>
> When trying to use the streaming random function.  I'm using curl with:
> curl --data-urlencode 'expr=random(MAIN,q="FULL_DOCU
> MENT:obamacare",rows="100",fl="DocumentId")'
> http://cordelia:9100/solr/MAIN/stream
>
> Any ideas?  Thank you!
>
> -Joe
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message