Serializable extractedId = documentBuilder.getId( value );
if ( extractedId != null ) {
PerEntityWork<T> entityWork = entityById.get( extractedId );
if ( entityWork == null ) {
EntityIndexingInterceptor<? super T> entityInterceptor = getEntityInterceptor();
IndexingOverride operation;
if ( entityInterceptor != null ) {
operation = entityInterceptor.onUpdate( value );
}
else {
operation = IndexingOverride.APPLY_DEFAULT;