feliperazeek / playframework-elasticsearch

Integrate Elastic Search in a Play! Framework Application. This module uses JPA events to notify Elastic Search of events of their own. It embeds a running Elastic Search instance for Rapid Development.
http://geeks.aretotally.in/play-framework-module-elastic-search-distributed-searching-with-json-http-rest-or-java
84 stars 43 forks source link

Use mappers in non-JPA Transformer #32

Closed bgooren closed 12 years ago

bgooren commented 12 years ago

The non-JPA Transformer does not use the mappers, which means custom field mappings will lead to errors.

feliperazeek commented 12 years ago

Is it easy to come up with a test to reproduce the problem?

bgooren commented 12 years ago

It's not a problem for us, since we always use hydration (and thus the JPATransformer). I created this ticket as a reminder that this need to be fixed at some point. Users will get errors if they do not use hydration and use custom field mappings.