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