LOG.error("The indexing system is not solr based. Copy fields can not be created in non SOLR based indexing systems. This request will be treated as no op.");
Stringmsg=String.format("Error encountered in creating the copy field from %s to %s for collection %s.",srcFieldName,mappedCopyFieldName,collectionName);
LOG.info("Dropping the use of types string optimization as there are too many types {} for select type {}.",typeString,context.getEntityType().getTypeName());
}else{
LOG.debug("Using the use of types string optimization as there are too many types {} for select type {}.",typeString,context.getEntityType().getTypeName());
mapAttributes(classificationType,classification.getAttributes(),entityWithExtInfo,sb,newHashSet<String>(),excludeAttributes,false);//false because of full text context.
}
}
...
...
@@ -138,7 +138,7 @@ public class FullTextMapperV2 {
Stringmsg=String.format("Invalid search weight '%d' was provided for property %s.",searchWeight,atlasAttributeDef.getName());
LOG.error(msg);
thrownewRuntimeException(msg);
}
atlasAttributeDef.setSearchWeight(searchWeight);
LOG.info("Updating Model attribute {}'s property{} to {}.",atlasAttributeDef.getName(),entry.getKey(),entry.getValue());
}else{
//sanity exception
//more attributes can be added as needed.
Stringmsg=String.format("Received unknown property{} for attribute {}'s ",entry.getKey(),atlasAttributeDef.getName());
LOG.error(msg);
thrownewRuntimeException(msg);
}
}catch(Exceptione){
Stringmsg=String.format("Error encountered in updating Model attribute %s's property '%s' to %s.",atlasAttributeDef.getName(),entry.getKey(),entry.getValue().toString());