Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add custom mapping #40

Open
fpahl opened this issue Dec 21, 2011 · 1 comment
Open

add custom mapping #40

fpahl opened this issue Dec 21, 2011 · 1 comment

Comments

@fpahl
Copy link

fpahl commented Dec 21, 2011

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

  • BigDecimal Fields
  • output of certain methods: toString() -> title
@bgooren
Copy link
Contributor

bgooren commented Dec 21, 2011

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants