Class HibernateSearchElasticsearchRuntimeConfigPersistenceUnit.AutomaticIndexingSynchronizationConfig
- java.lang.Object
-
- io.quarkus.hibernate.search.orm.elasticsearch.runtime.HibernateSearchElasticsearchRuntimeConfigPersistenceUnit.AutomaticIndexingSynchronizationConfig
-
- Enclosing class:
- HibernateSearchElasticsearchRuntimeConfigPersistenceUnit
public static class HibernateSearchElasticsearchRuntimeConfigPersistenceUnit.AutomaticIndexingSynchronizationConfig extends Object
-
-
Constructor Summary
Constructors Constructor Description AutomaticIndexingSynchronizationConfig()
-
-
-
Field Detail
-
strategy
@ConfigItem(defaultValue="write-sync") String strategy
The synchronization strategy to use when indexing automatically. Defines how complete indexing should be before resuming the application thread after a database transaction is committed. Available values: [cols=5] !=== .2+h!Strategy .2+h!Throughput 3+^h!Guarantees when the application thread resumes h!Changes applied h!Changes safe from crash/power loss h!Changes visible on search !async !Best ^!icon:times[role=red] ^!icon:times[role=red] ^!icon:times[role=red] !write-sync (**default**) !Medium ^!icon:check[role=lime] ^!icon:check[role=lime] ^!icon:times[role=red] !read-sync !Medium to worst ^!icon:check[role=lime] ^!icon:times[role=red] ^!icon:check[role=lime] !sync !Worst ^!icon:check[role=lime] ^!icon:check[role=lime] ^!icon:check[role=lime] !=== This property also accepts a <> to a custom implementations of `AutomaticIndexingSynchronizationStrategy`. See link:{hibernate-search-doc-prefix}#mapper-orm-indexing-automatic-synchronization[this section of the reference documentation] for more information.
-
-