I want to know if there’s a way to use it because the error that appears is
uncaught Error: There is already a collection named "users/easySearch"
This is how I used it
export const UsersIndex = new Index({
engine: new ElasticSearchEngine(),
collection: Meteor.users,
fields: ['profile.firstname', 'profile.secondname', 'profile.surname', 'profile.lastname', 'profile.Province', 'profile.assurances'],
})
And all of my users are stored in the meteor.users collection and I’ve been tasked to use only ElasticSearchEngine.
Any type of help is apprecciated.