Sharmadha Sainath created ATLAS-2165:
----------------------------------------

             Summary: Limit set to 0 while executing saved query hence no 
results are fetched.
                 Key: ATLAS-2165
                 URL: https://issues.apache.org/jira/browse/ATLAS-2165
             Project: Atlas
          Issue Type: Bug
          Components:  atlas-core
    Affects Versions: 0.9.1
            Reporter: Sharmadha Sainath
            Priority: Blocker


Fired REST call to execute a saved query using its name :
{code}
http://localhost:21000/api/atlas/v2/search/saved/execute/basic_search1
{code}

Following was the response :
{code}
{  
   guid:"153e89bb-eabb-4cc6-9cda-07c7ed084bac",
   ownerName:"admin",
   name:"basic_search1",
   searchType:"BASIC",
   searchParameters:{  
      query:"default",
      typeName:"Asset",
      classification:"tag3",
      excludeDeletedEntities:true,
      limit:0,
      offset:0
   }
}
{code}

limit is set to 0 hence no entities are fetched though the query has many 
resulting entities.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to