| Hello Alexis CUCUMEL, Thanks for the (very detailed!) report. This kind of error could potentially happen on older versions of Spring that did not implement Hibernate ORM's dependency injection mechanisms correctly. Essentially they forgot to call the fallback provided by ORM/Search, so if a bean was not found in Spring, Hibernate Search was never given a chance to search among its own (internal) bean definitions. Which version of Spring are you using? All versions with the following fix should work correctly: https://github.com/spring-projects/spring-framework/commit/17caac8f1fd53f54270e799a6c754dac9f3a6e60#diff-0e3dfb02e10b8638a2d7ba221e8448cb These versions appear to include the fix: v5.2.0.M3 v5.2.0.M2 v5.2.0.M1 v5.1.8.RELEASE v5.1.7.RELEASE v5.1.6.RELEASE v5.1.5.RELEASE I don't know of any workaround, except upgrading your Spring dependency. On an unrelated note, you may want to know there's a typo in your configuration. This:
hibernateProperties.put("hibernate.search.backend.myBackend.host", "http:);
Should be this:
hibernateProperties.put("hibernate.search.backends.myBackend.host", "http:);
("backend" => "backends") |