[ https://issues.apache.org/jira/browse/ATLAS-1788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16010015#comment-16010015 ]
Sarath Subramanian commented on ATLAS-1788: ------------------------------------------- [~ssainath], I see that the REST url specified is incorrect for basic search ("basic" is missing the url path). The following call worked for me: http://localhost:21000/api/atlas/v2/search/basic?limit=25&excludeDeletedEntities=true&query=employee_?bl&typeName=hive_table > UI : Wildcard search with "?" throws exception in basic search > -------------------------------------------------------------- > > Key: ATLAS-1788 > URL: https://issues.apache.org/jira/browse/ATLAS-1788 > Project: Atlas > Issue Type: Bug > Components: atlas-webui > Affects Versions: trunk, 0.9-incubating > Reporter: Sharmadha Sainath > Attachments: wildcard_search.txt > > > Wildcard search with "?" throws 500 internal error. > Example : > Basic search : > type name : kafka_topic > query : kakfa_topic_iAEz? > throws 500 Internal server error . > The corresponding query fired is > {code} > http://172.27.19.74:21000/api/atlas/v2/search?limit=25&query=kakfa_topic_iAEz > {code} > if query is "kafka_topic_?AEzb" > corresponding query fired is : > {code} > http://172.27.19.74:21000/api/atlas/v2/search?limit=25&query=kafka_topic_ > {code} > Note : content after "?" is ignored and query is not formed correctly (basic > keyword is missed) > The following curl command runs fine returns 200 Ok with correct results. > {code} > curl -u admin:admin -X GET > "http://172.27.19.74:21000/api/atlas/v2/search/basic?limit=25&excludeDeletedEntities=true&query=kakfa_topic_iAEz?&typeName=kafka_topic" > {code} > Attached the WebApplication exception thrown while making the query. -- This message was sent by Atlassian JIRA (v6.3.15#6346)