Computed fields plugin


I want to create plugin that will add support for computed fields
im quite new to elasticsearch, so i will gladly use some advice on what is
the best way to approach it
from quickly eyeballing elasticsearch code i see 2 ways:

  • creating custom field mapper
  • modifying source document on preIndex event (IndexingOperationListener)

any suggestion will be very appreciated
(also if there is already plugin that can do that, this will be my favorite
suggestion :slight_smile: )


You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
For more options, visit