| The pull request for this issue contains three bonuses: 1. It fixes a small possible NullPointerException in ElasticsearchHSQueryImpl which may occur when the FullTextQuery's projection has null as field name: FullTextQuery query = ....; query.setProjection("field1", null, "field2"); 2. DocumentExtractorImpl iterates over the projection to set values for projection fields defined in ProjectionConstants only when it is needed. In the current version of Hibernate Search it does it always. 3. The HasMap for the field "DocumentExtractorImpl.targetedClasses" is only created when it is needed. |