AnalyzerReference is now on org.hibernate.search.analyzer.spi.AnalyzerReference and RemoteAnalyzerProvider has been removed in favor of org.hibernate.search.analyzer.impl.RemoteAnalyzerReference.
Ideally your should not depend on classes from impl packages, as they can be moved across versions. Why your query code needs to depend on internal hibernate search bits? Maybe we can find an alternative
that uses only supported APIs/SPIs.
Frankly, since I am so new with infinspan, it is hard to say why code looks like that.
I have added hibernate apis to find this AnalyerReference class.
As far as I know, that code uses infinispan 8.2.6 and recently upgraded to 9.1.0.
Thanks for your kind answer.