Easy Search Elasticsearch engine

I don’t know how to get data out of my index, with minimongo engine i just need to set the index like this:

const Players = new Mongo.Collection('players')
const PlayersIndex = new Index({
  collection: Players,
  fields: ['name'],
  engine: new MinimongoEngine(),
})

Then use the search function on the index:

const filteredData = PlayersIndex.search('Peter').fetch()

But i’m lost on the creation of the index with elasticSearch

const Players = new Mongo.Collection('players')
const PlayersIndex = new Index({
  collection: Players,
  fields: ['name'],
  engine: new ElasticSearchEngine({
    body: () => { ... } // modify the body that's sent when searching
  }),
})

What i need to do on the body?
I can’t find any tutorial on the matter.