You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Pradeep Rao (JIRA)" <ji...@apache.org> on 2019/04/04 17:03:00 UTC
[jira] [Commented] (SOLR-10409) /export should support rows=x
parameter
[ https://issues.apache.org/jira/browse/SOLR-10409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16810070#comment-16810070 ]
Pradeep Rao commented on SOLR-10409:
------------------------------------
Submitted PR
> /export should support rows=x parameter
> ---------------------------------------
>
> Key: SOLR-10409
> URL: https://issues.apache.org/jira/browse/SOLR-10409
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Pradeep Rao
> Priority: Minor
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Its will be very useful to make /export component support rows=x to only export first x documents. When supported, we can get the top x documents much faster using /export instead of /select (if fields are supported by /export )
> This lets user add rows=x parameter to request to limit number of docs they get from /export query
> rows=x
> {
> x=0 => returns numFound=0 and no docs in results - this is existing behavior (I guess, unintended)
> x=undefined or x>=numFound => will not have any effect on existing behavior
> x < numFound => will return first x docs only (in specified sorted order ) in results.
> }
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org