Mongo.Ecto.create_indexes

You're seeing just the function create_indexes, go back to Mongo.Ecto module for more information.
Link to this function

create_indexes(repo, collection, indexes, opts \\ [])

View Source

Creates one or more indexes for the specified collection coll.

See https://docs.mongodb.com/manual/reference/method/db.collection.createIndexes/#mongodb-method-db.collection.createIndexes for the syntax of indexes.