build elasticsearch stubbed