add custom mapping
Opened this issue · 1 comments
fpahl commented
Is there a possibility to add a custom mapping, e.g. for
- BigDecimal Fields
- output of certain methods: toString() -> title
bgooren commented
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.