The ORM mapper has the concept of “automatic indexing synchronization strategy” to easily define what Hibernate Search needs to wait for in order to consider indexing “complete”.
The Standalone POJO Mapper only has more low-level features to set the document commit strategy / refresh strategy when building the session.
Let’s bring the concept of “automatic indexing synchronization strategy” to the Standalone POJO Mapper.
Note that “Automatic Indexing” is not really the right name, as explained in [https://hibernate.atlassian.net/browse/HSEARCH-4616|https://hibernate.atlassian.net/browse/HSEARCH-4616|smart-link] , so we might want to wait until will likely rename it has been renamed before porting the concept to the Standalone POJO mapper later. No big deal though, we can just start with this name for now. |
|