laravel-fulltext
laravel-fulltext copied to clipboard
Implement pagination for search results.
Currently the search results are only limited, not paginated.
how to delete a record from the table when deleting from the entity? Delete the article and the fulltext stores information about it. There must be a function to do this synchronously.
@serkor, your question is not related. Please open a new issue and describe your proposed change in more detail.
this is not worked as well
$search = new Search();
return $search->runForClass($searchPhrase, QuranAyat::class)->forPage($pageNumber, config("laravel-fulltext.limit-results"));