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

add custom mapping #40

Open fpahl opened 12 years ago

fpahl commented 12 years ago

Is there a possibility to add a custom mapping, e.g. for

bgooren commented 12 years ago

Can you please be more specific?

The module already supports BigDecimal out-of-the-box, so what does it do that does not work for you?

With regard to your second point: do you mean you want to add the result of a method to the index? We could support that in a one-way fashion (e.g. add @ElasticSearchField to the method). When I say "one-way", I mean: we can add it to the index, but cannot hydrate it when fetching the result since there is no field to store the indexed value in.