matteodem / meteor-easy-search

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

Custom mapping at index creation #600

Closed bompi88 closed 7 years ago

bompi88 commented 7 years ago

Adds mapping to the config, which will set the mapping before indexing. fixes #394

bompi88 commented 7 years ago

@matteodem The mapping configuration seem to work, but I wonder if document type (name) is always defined?

matteodem commented 7 years ago

It should always be defined. This looks mergeable to me.

Do you have a test app that you used to test this feature? I'd like to test it once before merging it.

bompi88 commented 7 years ago

I'll create a test app within the next week which will include both the mapping and aggregation functionality 👍

bompi88 commented 7 years ago

@matteodem Test app is now available at https://github.com/bompi88/easy-search-leaderboard.

matteodem commented 7 years ago

Currently at work but will check out later tonight

matteodem commented 7 years ago

Great stuff, merged!