Closed isAlmogK closed 7 years ago
I'm getting the following error "_easySearch.MinimongoEngine is not a constructor"
I'm following the example code
import { Meteor } from 'meteor/meteor'; import { Roles, Profiles} from './collections'; import { Index, MinimongoEngine } from 'meteor/easy:search'
const RolesIndex = new Index({ collection: Roles, fields: ['name'], engine: new MinimongoEngine() })
Fixed, was not using the latest version
I'm getting the following error "_easySearch.MinimongoEngine is not a constructor"
I'm following the example code
import { Meteor } from 'meteor/meteor'; import { Roles, Profiles} from './collections'; import { Index, MinimongoEngine } from 'meteor/easy:search'
const RolesIndex = new Index({ collection: Roles, fields: ['name'], engine: new MinimongoEngine() })