yabhq/laravel-scout-mysql-driver

Relevance as an attribute in model

keradan opened this issue · 1 comments

I am searching in few models, for example in tables 'posts' and 'categories'. In each separately relevance works good, but I get 2 collections, so order of rows depends on what collection I view first. Is there a way to get relevance attribute to sort merged collections by it?

I've just proposed a merge request to do that ... #91