Sample code for Titan , ElasticSearch