Commit 4d0f5ce2 by Pinal Shah Committed by nixonrodrigues

ATLAS-3672 : Search with Classification without filters and Entity with filters…

ATLAS-3672 : Search with Classification without filters and Entity with filters doesn't fetch expected results. Signed-off-by: 's avatarnixonrodrigues <nixon@apache.org>
parent 61c2fe3e
...@@ -738,8 +738,7 @@ public abstract class SearchProcessor { ...@@ -738,8 +738,7 @@ public abstract class SearchProcessor {
operator = processedCriteria.getOperator(); operator = processedCriteria.getOperator();
} }
try { final String qualifiedName = type.getAttribute(attrName).getVertexPropertyName();
final String qualifiedName = type.getQualifiedAttributeName(attrName);
switch (operator) { switch (operator) {
case LT: case LT:
...@@ -782,9 +781,6 @@ public abstract class SearchProcessor { ...@@ -782,9 +781,6 @@ public abstract class SearchProcessor {
LOG.warn("{}: unsupported operator. Ignored", operator); LOG.warn("{}: unsupported operator. Ignored", operator);
break; break;
} }
} catch (AtlasBaseException e) {
LOG.error("toGraphFilterQuery(): failed for attrName=" + attrName + "; operator=" + operator + "; attrValue=" + attrValue, e);
}
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment