cfg.customInterceptors().interceptors(builder.build().customInterceptors().interceptors());
}
}
private QueryInterceptor buildQueryInterceptor(Configuration cfg, SearchFactoryIntegrator searchFactory) {
IndexModificationStrategy indexingStrategy = IndexModificationStrategy.configuredStrategy(searchFactory, cfg);
return new QueryInterceptor(searchFactory, indexingStrategy);
}