Sharmadha Sainath created ATLAS-2320:
----------------------------------------
Summary: classification "*" with query throws 500 Internal server
exception.
Key: ATLAS-2320
URL: https://issues.apache.org/jira/browse/ATLAS-2320
Project: Atlas
Issue Type: Bug
Components: atlas-core
Reporter: Sharmadha Sainath
Attachments: query_and_classification_asterisk.txt
Following basic post query throws 500 internal server exception :
{code}
{
"query":"hive_table",
"classification":"*"
}
{code}
Exception:
{code}
Request to collection fulltext_index failed due to (400)
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error
from server at http://172.27.58.128:8886/solr/fulltext_index:
org.apache.solr.search.SyntaxError: Cannot parse 'sg5_t:(hive_table AND ())':
Encountered " ")" ") "" at line 1, column 16.
Was expecting one of:
<NOT> ...
"+" ...
"-" ...
<BAREOPER> ...
"(" ...
"*" ...
<QUOTED> ...
<TERM> ...
<PREFIXTERM> ...
<WILDTERM> ...
<REGEXPTERM> ...
"[" ...
"{" ...
<LPARAMS> ...
"filter(" ...
<NUMBER> ...
<TERM> ...
"*" ...
, retry? 0 (CloudSolrClient:903)
{code}
Attached the complete exception stack trace.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)