Closed MorganGonzales closed 3 months ago
Heya. Not sure we'll get this into Scout when there's an easy way to do this using the query builder sorry.
I'm actually wondering what the big difference is between your query and the one in scout? Is the latter a statement for "AND" between the columns?
Laravel: v10 Database: MySQL 8.0.33 Laravel Scout: v10
I do have a table that has a compound full-text index.
And below is how the
Profile
model looks likeWhen executing this code
I see that behind the scenes, it executes a query like
Instead of how I want the query to look like (to utilize the full-text index that I created)
I'm aware the my desired query statement could be easily done by
whereFullText
, but I wish there's a way for Laravel Scout to also do this.