[
https://issues.apache.org/jira/browse/SOLR-7548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14545772#comment-14545772
]
Joel Bernstein commented on SOLR-7548:
--------------------------------------
You'll find that "/export" is very picky about what it allows compared to the
regular handler. No scores are returned and all sorts and fl fields must be a
DocValues fields.
This ticket also needs to be committed for 5.2, which deals with a specific
error that isn't logged.
> CloudSolrStream Limits Max Results to rows Param
> ------------------------------------------------
>
> Key: SOLR-7548
> URL: https://issues.apache.org/jira/browse/SOLR-7548
> Project: Solr
> Issue Type: Bug
> Affects Versions: Trunk
> Reporter: Dennis Gove
> Priority: Minor
> Labels: Streaming
> Fix For: Trunk
>
>
> The CloudSolrStream stream class accepts a set of params to be passed to the
> standard query handler. If the provided params doesn't include "rows=N" then
> maximum # of records returned by this stream is the configured default rows
> value (generally 10, but perhaps more).
> As CloudSolrStream would generally be the first part of a larger set of
> stream expressions it seems counterintuitive to limit the first set by this
> value.
> This ticket is to address this so that either we set pass a param of rows=MAX
> where MAX is the max value we can pass (max int or max long I suppose) or
> make it so that default value is ignored when in a streaming context.
> Example:
> Imagine we have a collection "people" with 90 documents in it
> The following query would return at most 10 documents (assuming 10 is the
> default)
> {code}
> search(people,q=*:*,fl="id,name_s,gender_s,nick_s",sort="name_s desc")
> {code}
> The following query would return all documents
> {code}
> search(people,q=*:*,fl="id,name_s,gender_s,nick_s",sort="name_s
> desc",rows=100)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]