Infinispan extends {{org.hibernate.search.cfg.spi.SearchConfigurationBase}} and sets {{isIdProvidedImplicit}} to true. When doing a query with projections, the following exceptions exception is thrown:
{noformat} java.lang.NullPointerException at org.hibernate.search.elasticsearch.impl.FieldHelper.getFieldMetadata(FieldHelper.java:266) at org.hibernate.search.elasticsearch.impl.ElasticsearchHSQueryImpl$IndexSearcher.getFieldValue(ElasticsearchHSQueryImpl.java:704) at org.hibernate.search.elasticsearch.impl.ElasticsearchHSQueryImpl$IndexSearcher.convertQueryHit(ElasticsearchHSQueryImpl.java:672) at org.hibernate.search.elasticsearch.impl.ElasticsearchHSQueryImpl.queryEntityInfos(ElasticsearchHSQueryImpl.java:264) at org.infinispan.query.impl.CacheQueryImpl.list(CacheQueryImpl.java:158) {noformat} |
|