private static CommitHook buildDefaultCommitHook() {
return new CompositeHook(
new DefaultTypeEditor(),
new ValidatingHook(createDefaultValidatorProvider()),
IndexHookManager.of(
new CompositeIndexHookProvider(
new Property2IndexHookProvider(),
new LuceneIndexHookProvider())));
}