You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Rahul Kurup (Jira)" <ji...@apache.org> on 2020/03/20 13:00:06 UTC

[jira] [Created] (ATLAS-3673) Atlas: Quick Search API 'limit' parameter not behaving as expected with high values

Rahul Kurup created ATLAS-3673:
----------------------------------

             Summary: Atlas: Quick Search API 'limit' parameter not behaving as expected with high values
                 Key: ATLAS-3673
                 URL: https://issues.apache.org/jira/browse/ATLAS-3673
             Project: Atlas
          Issue Type: Bug
            Reporter: Rahul Kurup


If there are 300 entries matching the quick search input string, and if I specify a very high value like '42000000' such as below: 

{{https://localhost:21000/api/atlas/v2/search/quick?query=existing*&limit=42000000&offset=0}}

I only get upto 100 entries in the response. 

And if I specify the value as 4294967295 (maximum 'int' value), as follows:

{{https://localhost:21000/api/atlas/v2/search/quick?query=existing*&limit=4294967295&offset=0}}

 then I get the following in the response

{{SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data}}
If there is an upper limit to the 'limit' parameter, we should get an appropriate response.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)