Added 'segment' to elasticsearch mappings -- support to make this dynamic coming