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

Srikanth Sundarrajan commented on FALCON-771:
---------------------------------------------

[~bvellanki], I would strongly urge you to reconsider the ask. Returning all 
results might put considerable memory pressure on falcon server momentarily or 
even go out of memory. In fact I would instead request your to consider adding 
a feature to cut off numResults to a meaningful cap (say 10000) and any value 
beyond 10000 should be down sized to 10000.

> Entity and Instance GET apis should allow user to get ALL results
> -----------------------------------------------------------------
>
>                 Key: FALCON-771
>                 URL: https://issues.apache.org/jira/browse/FALCON-771
>             Project: Falcon
>          Issue Type: Bug
>          Components: client, webapp
>    Affects Versions: 0.6
>            Reporter: Balu Vellanki
>            Assignee: Balu Vellanki
>
> Today, the default number of results shown for GET apis is 10. User can 
> override this number by setting queryParam "numResults" to a positive 
> integer. There is no way for user to get all results.
> Update the code to accept negative integer "-1" as value for "numResults". 
> When it is set to "-1", return all results. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to