[ https://issues.apache.org/jira/browse/ATLAS-2022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16114315#comment-16114315 ]
Ayub Pathan commented on ATLAS-2022: ------------------------------------ +1. looks good to me > Regression : Empty results fetched from GET Basic search query > -------------------------------------------------------------- > > Key: ATLAS-2022 > URL: https://issues.apache.org/jira/browse/ATLAS-2022 > Project: Atlas > Issue Type: Bug > Components: atlas-core > Affects Versions: 0.9-incubating > Reporter: Sharmadha Sainath > Assignee: Sharmadha Sainath > Priority: Blocker > Attachments: ATLAS-2022.patch > > > Basic search query fired as a POST request with attribute , tag filters > fetches correct results. > But Basic query fired as a GET request with query params encoded in the URL , > returns empty results. > For example : Basic query : typeName = "hive_table" query = <name of existing > hive_table in Atlas" > http://localhost:21000/api/atlas/v2/search/basic?typeName=hive_table&query=employee > returns > {code} > { > queryType: "BASIC", > searchParameters: { > query: "employee", > typeName: "hive_table", > excludeDeletedEntities: false, > limit: 0, > offset: 0 > }, > queryText: "employee" > } > {code} > Few commits back , following was the response : > {code} > { > queryType: "BASIC", > type: "hive_table", > entities: [ > { > typeName: "hive_table", > attributes: { > owner: "admin", > qualifiedName: "default.employee@cl1", > name: "employee", > description: null > }, > guid: "253aa208-0415-4e86-8611-3858fad78ede", > status: "ACTIVE", > displayText: "employee", > classificationNames: [ ] > } > ] > } > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)