Hello,
I am using Elastic client in our Springboot API (client version 6.5.4).
My application is using 2 different indexes, one is on version 6, the second on version 7.
For the version 6, everything is working fine, for the version 7, the issue is that the totalHits number is always 0.
I read the issue described here: property totalHits is al, and the solution provided is to upgrade the client version to 7. I tried and it is working fine.
Unfortunatly it is not backward compatible, so the index on version 6 is not working anymore.
How is it possible to have both versions working in the same API?
Thanks a lot