Add elasticSearch connector and use it in b2g