You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "Tej Chajed (JIRA)" <ji...@apache.org> on 2013/04/20 02:59:17 UTC

[jira] [Updated] (INFRA-6181) JIRA REST API search limit too high

     [ https://issues.apache.org/jira/browse/INFRA-6181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tej Chajed updated INFRA-6181:
------------------------------

    Description: It appears that the JIRA REST API has a limit of 1000 on maximum search results. However, actually querying the database for 1000 results at a time is slower than querying for 100 at a time 10 times due to the server processing time required. It would appear that 100 (perhaps as high as 200) would be a better maximum for the search limit. For comparison, the Github API enforces a maximum of 100 results for all paginated queries (http://developer.github.com/v3/#pagination).  (was: It appears that the JIRA REST API has a limit of 1000 on maximum search results. However, actually querying the database for 1000 results at a time is slower than querying for 100 at a time 10 times due to the server processing time required. It would appear that 100 (perhaps as high as 200) would be a better maximum for the search limit. For comparison, the Github API enforces a maximum of 100 results for all paginated queries.)
    
> JIRA REST API search limit too high
> -----------------------------------
>
>                 Key: INFRA-6181
>                 URL: https://issues.apache.org/jira/browse/INFRA-6181
>             Project: Infrastructure
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: JIRA
>            Reporter: Tej Chajed
>            Priority: Minor
>
> It appears that the JIRA REST API has a limit of 1000 on maximum search results. However, actually querying the database for 1000 results at a time is slower than querying for 100 at a time 10 times due to the server processing time required. It would appear that 100 (perhaps as high as 200) would be a better maximum for the search limit. For comparison, the Github API enforces a maximum of 100 results for all paginated queries (http://developer.github.com/v3/#pagination).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira