IntelliJ IDEA 2019.3.1 (Community Edition)
Build #IC-193.5662.53, built on December 18, 2019
Runtime version: 11-ea+121 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
GC: ParNew, ConcurrentMarkSweep
Non-Bundled Plugins: DBN, Lombook Plugin, OdpsStudio, com.jetbrains.ChooseRuntime, marcglasberg.HibernateInspectionsPlugin, org.dnltsk.mapfileplugin, org.jetbrains.kotlin
Hibernate version 5.4.10.Final
This is quite a huge leap. There are many, many problems that could be caused by things you forgot to change in your own code/build. Also, Hibernate Search 5.6 is quite old and not actively maintained.
I'll close this ticket. Please open a question on our discourse forums or on stackoverflow with if you want some help. Make sure to include the version of all your dependencies.
Migrate by steps. In your case I would advise, at the very least, migrating to Search 4.0 first, then 5.0, then 5.6. Have a look at the migration guides: https://hibernate.org/search/documentation/migrate/
Make sure to use compatible versions of your dependencies. You can find the compatible dependencies for Hibernate Search 5.6 here: https://hibernate.org/search/releases/5.6/#compatibility
Did I understand you correctly: are there incompatible versions? But is that normal?
Yes, there are incompatible versions. Hibernate ORM and Lucene change their APIs from time to time, thus a single version of Hibernate Search cannot be compatible with all versions of ORM and Lucene.
You should look at the version of Hibernate ORM you're using, then pick a compatible version of Hibernate Search, then make sure to use the required version of Lucene.
@Yoann Rodière, Thanks! I will try.