Does anyone know how to run a search using FullText and a string?
I'm trying to inject
use Magento\CatalogSearch\Model\ResourceModel\Fulltext\Collection as Fulltext;
and do
$this->_fulltext->addSearchFilter("wat");
$products = $this->_fulltext->getItems();
but the result is always empty.
Any idea?
Best Answer
Try below code its work for me: