private void updateDocument ( EntityMetadata metadata , final MetamodelImpl metaModel , Object entity , String parentId , Class < ? extends Object > class1 , boolean b ) { updateOrCreateIndex ( metadata , metaModel , entity , parentId , entity . getClass ( ) , true ) ; onCommit ( ) ; }
Updates document .