|
Something is wrong there indeed. But exposing SearchIntegrator is the least of the wrongs: you might not have noticed that you need to extend a .impl class, the idea being it's just an example.
The better plan is to not need any such controller at all, we should be able to set this all up automatically.
On the other hand, I'd rather not expose getIndexManager() , Serializer and backend's performOperations(queue) on user API, so SPI it is.
|