Kurounin / Pagination

This package allows you to paginate the subscriptions over meteor's collections. It can be used in a Blaze template or in ReactJS.
MIT License
56 stars 22 forks source link

Text search query not retrieving score #64

Closed carlosalvidrez closed 6 years ago

carlosalvidrez commented 6 years ago

Hi guys, is there a way to retrieve the result of a text search? I get the results, but not the score, so I can't order by match relevance. Thanks!

Kurounin commented 6 years ago

Hi,

In order to retrieve the score of a text search, you need to ensure you did the following things:

For an exact implementation check this commit https://github.com/Kurounin/PaginationExample/commit/c0941679b7b1f88483547f1d8e9da42804bef90b

carlosalvidrez commented 6 years ago

Thank you SO Much! This worked like a charm. Thanks for your efforts creating this meteor plugin I really appreciate it.