elasaticsearch indexing now fully working