public interface SearchSessionImplementor extends AutoCloseable, SearchSession
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
PojoSessionWorkExecutor |
createSessionWorkExecutor(DocumentCommitStrategy commitStrategy) |
PojoWorkPlan |
createWorkPlan(DocumentCommitStrategy commitStrategy,
DocumentRefreshStrategy refreshStrategy) |
AutomaticIndexingSynchronizationStrategy |
getAutomaticIndexingSynchronizationStrategy() |
createIndexer, scope, scope, search, search, setAutomaticIndexingSynchronizationStrategy, toEntityManager, toOrmSessionvoid close()
close in interface AutoCloseablePojoWorkPlan createWorkPlan(DocumentCommitStrategy commitStrategy, DocumentRefreshStrategy refreshStrategy)
commitStrategy - The commit strategy to use for every affected index.refreshStrategy - The refresh strategy to use for every affected index.PojoWorkPlan.execute() is required to actually execute works,
the session will not do it automatically upon closing.PojoSessionWorkExecutor createSessionWorkExecutor(DocumentCommitStrategy commitStrategy)
AutomaticIndexingSynchronizationStrategy getAutomaticIndexingSynchronizationStrategy()
Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.