safeOperation.getId(),
safeOperation.getFieldToAnalyzerMap()
);
}
else if ( operation instanceof Update ) {
Update safeOperation = ( Update ) operation;
buildLuceneDocument( safeOperation.getDocument(), hydrator );
hydrator.addUpdateLuceneWork(
safeOperation.getEntityClassName(),
safeOperation.getId(),
safeOperation.getFieldToAnalyzerMap()
);
}
}
}