https://github.com/Smorgasbordq/spring-boot-hibernate-search I’ve encountered an issue where, whenever an Indexed entity has an update to its Field (or if the hibernate enhance plugin has enableDirtyTracking=true) then other Tenants lose their index on that entity. The above repo (very loosely based on the web env I work in) should demonstrate it: once it’s running, you can access http://localhost:9000/plant/update?tc=tenant_1 and see the updated list of plants returned by Hibernate Search. If you access http://localhost:9000/plant/search?tc=tenant_2&text=fir&fields=name you’ll see no results are returned (unless you update that tenant, or trigger a reindex) |