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 {
operator = processedCriteria.getOperator();
}
try {
final String qualifiedName = type.getQualifiedAttributeName(attrName);
final String qualifiedName = type.getAttribute(attrName).getVertexPropertyName();
switch (operator) {
case LT:
......@@ -782,9 +781,6 @@ public abstract class SearchProcessor {
LOG.warn("{}: unsupported operator. Ignored", operator);
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