Closed adnanmokhtar closed 6 years ago
What do you mean exactly, can you describe it a bit more? Eg do you mean just searching on any columns or specifically use a mongodb text index?
Yes i mean mongodb text index.
You will have to use the filter column api in which you add a custom keyword search. See: https://yajrabox.com/docs/laravel-datatables/master/filter-column
and use something like (please check the laravel-mongodb repo for more examples)
$query->whereRaw(array('$text' => array('$search' => $keyword)));
How to use full text search with this plugin ?