Hi nale, I see you are using Hibernate Search version 5.5, which is no longer actively maintained: it's 3 years old and we have released 5 new minor versions since its was first published (5.6, 5.7, 5.8, 5.9 and 5.10). This version is likely to contain bugs that have been resolved in a later version. We can have a look and try to fix the issue, especially because it may also affect newer versions, but the fix will likely be merged into a more recent version only (5.6 is currently the oldest maintained series). It would help if you could:
- Check that the problem is still present with the latest 5.5 (5.5.8.Final) and the latest version of Hibernate ORM you can use in Search 5.5 (ORM version 5.1.14.Final)
- If possible, upgrade to at least Hibernate Search 5.6.4.Final (5.10.0.Final would be better, but that's a lot more work since you'll need to upgrade ORM to 5.3, too) and check that the problem is still present.
- Try to reproduce the problem in a separate, simple test case. We have https://github.com/hibernate/hibernate-test-case-templates/tree/master/search/hibernate-search-lucene. If you need a template for version 5.5, you will have to go back in time to commit 0c7f43be477d9403973061f06e2e306dcacb32bd: https://github.com/hibernate/hibernate-test-case-templates/tree/0c7f43be477d9403973061f06e2e306dcacb32bd/search/hibernate-search-lucene
Thanks in advance, Yoann |