matteodem / meteor-easy-search

Easy-to-use search for Meteor with Blaze Components
MIT License
438 stars 68 forks source link

_easySearch.MinimongoEngine is not a constructor #590

Closed isAlmogK closed 7 years ago

isAlmogK commented 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() })

isAlmogK commented 7 years ago

Fixed, was not using the latest version