matteodem / meteor-easy-search

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

Search results doesn't show the correct one (Elasticsearch) #609

Closed atzalameda closed 7 years ago

atzalameda commented 7 years ago

Hi! I am new to this kind of thing so forgive me. I read the documentation but it was not clear to me. So I have this index:

export const StudentIndex = new Index({
  collection: Students,
  fields: ['name','school'],
  engine: new ElasticSearchEngine({
      body: () => { }
  })
});

But when I search ''Bob" for example the search results will show "James", "Paul", "William", etc. but it will not show "Bob" even if "Bob" is stored both in my MongoDB and ES server. Did I forgot to add something? Thanks for the help!

atzalameda commented 7 years ago

Oh, have the same problem with #572. Sorry I'll just close this one.