teamtnt / laravel-scout-tntsearch-driver

Driver for Laravel Scout search package based on https://github.com/teamtnt/tntsearch
MIT License
1.1k stars 144 forks source link

Display results with a WHERE CLAUSE #69 - Simple comparison where clause #77

Closed vlopes11 closed 7 years ago

vlopes11 commented 7 years ago

There is a conceptual difference since the where won't be performed on the index layer but on the model layer after TNTSearch fetched the results. So, this commit won't allow users to filter indexed data but model data.

Anyway, this is a simple implementation that will allow users to filter their search based on simple "equals to" criteria. If the PR is accepted, then we should implement other kinds of filtering (>= != etc)