I think, if this must be server side, this could be done in a REST filter
plugin, not in the mappings. Matching values against patterns do not relate
to field mappings.

Still, the best method to filter out unwanted values is at client side,
either at JSON construction time in the official clients, or in the
XContentBuilder calls in Java. Reason is to avoid extra load on the data
nodes that is not related to index or search.

Jörg

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAKdsXoF6RcbsLsMewFiFgFSdHT%3Dq%2BP%2BteaHBjRSXDk8Or-JXrQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to