Commit 929e505a by Ashutosh Mestry Committed by Sarath Subramanian

ATLAS-3433: Basic Search: Results include Internal Entities.

parent cc6c2668
......@@ -107,10 +107,16 @@ public class SolrIndexHelper implements IndexChangeListener {
ret.put(typeRegistry.getIndexFieldName(CLASSIFICATION_TEXT_KEY), SEARCHWEIGHT_FOR_CLASSIFICATIONS);
ret.put(typeRegistry.getIndexFieldName(TYPE_NAME_PROPERTY_KEY), SEARCHWEIGHT_FOR_TYPENAME);
if (CollectionUtils.isNotEmpty(entityTypes)) {
if (!CollectionUtils.isNotEmpty(entityTypes)) {
return ret;
}
for (AtlasEntityType entityType : entityTypes) {
processEntityType(ret, entityType);
if (entityType.isInternalType()) {
continue;
}
processEntityType(ret, entityType);
}
return ret;
......
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