**
A full-text search, also known as a keyword search, is a functionality that can produce more relevant results by scanning a considerable number of fields in the Magento 2 admin grid. Therefore, adding the full-text search in Magento 2 grid can help the admin search more efficiently and faster.
However, the Magento 2 keyword search functionality sometimes fails to work and might not provide accurate results. Thus, you can follow the below steps to fix the Magento 2 keyword search now working in the custom Module Admin Grid View,
To add the Full-text or Keyword search functionality in Magento 2 custom module admin grid view, you must create and add an index of the table.
You can do it by calling the addIndex() function in the below file.,
\app\code\Vendor\Extension\Setup\InstallSchema.php
Below provided is the code to make an index of the table and add the keyword search functionality in Magento 2 Admin grid view:
$connection->addIndex(
'testtable', //table name'title', // index name
[
'title' // filed or column name
], \Magento\Framework\DB\Adapter\AdapterInterface::INDEX_TYPE_FULLTEXT //type of index
);
You must add the table name and column names in the above code to add the keyword search in Magento 2 admin grid view.
I hope the above solution helps you to resolve the "Custom Module Admin Grid View "Search by Keyword" Not Working" issue. However, if the issue persists, you can update it here.