You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if config hibernate.search.default.indexmanager : elasticsearch in yml,
will get java.lang.ClassCastException: Cannot cast org.hibernate.search.elasticsearch.analyzer.impl.ScopedElasticsearchAnalyzerReference to org.hibernate.search.analyzer.impl.LuceneAnalyzerReference
when HibernateSearchApi.getAnalyzer()
because org.hibernate.search.engine.impl.ImmutableSearchFactory class has hardcode
@Override
public Analyzer getAnalyzer(IndexedTypeIdentifier type) {
return getAnalyzerReference( type ).unwrap( LuceneAnalyzerReference.class ).getAnalyzer();
}
current get ScopedElasticsearchAnalyzerReference instance.
how to resolve hibernate-search-engine-5.11.2.Final.jar problem ?
The text was updated successfully, but these errors were encountered:
Hello @lgrignon
5.11.3 Has same problem.
got this: java.lang.ClassCastException: Cannot cast org.hibernate.search.elasticsearch.analyzer.impl.ScopedElasticsearchAnalyzerReference to org.hibernate.search.analyzer.impl.LuceneAnalyzerReference
if config hibernate.search.default.indexmanager : elasticsearch in yml,
will get
java.lang.ClassCastException: Cannot cast org.hibernate.search.elasticsearch.analyzer.impl.ScopedElasticsearchAnalyzerReference to org.hibernate.search.analyzer.impl.LuceneAnalyzerReference
when HibernateSearchApi.getAnalyzer()
because org.hibernate.search.engine.impl.ImmutableSearchFactory class has hardcode
current get ScopedElasticsearchAnalyzerReference instance.
how to resolve hibernate-search-engine-5.11.2.Final.jar problem ?
The text was updated successfully, but these errors were encountered: