matteodem / meteor-easy-search

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

Using Components to Search for fields with boolean using addProps #492

Closed sangyoo91 closed 8 years ago

sangyoo91 commented 8 years ago

Is it possible to filter the results with Boolean?

for example,

OrdersSearchIndex.getComponentMethods().addProps('isCanceled', true)

I tried this but the search won't return documents with isCanceled : true

matteodem commented 8 years ago

Please have a look at the Adding facets to you search app section to find out how to use props, http://matteodem.github.io/meteor-easy-search/docs/recipes/.