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/02/07 03:04:39 UTC

[jira] [Comment Edited] (SOLR-8652) Implement Statement.setMaxRows()

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

Joel Bernstein edited comment on SOLR-8652 at 2/7/16 2:04 AM:
--------------------------------------------------------------

The limit clause changes the underlying implementation. If it's not included Solr will stream the entire result set using the /export handler. This also ensures that people use the more permissive /select handler for simple selects, which will produce fewer errors and allows the inclusion of scores and text fields in the result set.


was (Author: joel.bernstein):
The limit clause changes the underlying implementation. If it's not included Solr will stream the entire result set using the /export handler. This also ensures that people use the more permissive /select handler for simple selects, which will produce fewer errors.

> Implement Statement.setMaxRows()
> --------------------------------
>
>                 Key: SOLR-8652
>                 URL: https://issues.apache.org/jira/browse/SOLR-8652
>             Project: Solr
>          Issue Type: New Feature
>    Affects Versions: 6.0
>            Reporter: Joel Bernstein
>            Assignee: Joel Bernstein
>            Priority: Minor
>         Attachments: SOLR-8652.patch
>
>
> This is used by DbVisualizer to limit the number of rows returned by the query. The implementation will add a limit clause if one is not already included in the query.



--
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