close to MVP for EM elasticsearch library.