adding elasticsearch mapping