If your custom module is working fine with filter and other functions And you are facing issue with Search By Keyword functionality then this tips or answer will helpful to you.
Generally, this become happened due to missing of index creation for your module grid table.
You have to create a table index for faster searching mechanism for your grid table.
1. Open and edit your module's InstallSchema.php from <Vendor> /<ModuleName>/Setup/InstallSchema.php
At the end of table creation script/ table modify script add following code to create a table index.
Note: this example is for Fulltext index type.
Generally, this become happened due to missing of index creation for your module grid table.
You have to create a table index for faster searching mechanism for your grid table.
1. Open and edit your module's InstallSchema.php from <Vendor> /<ModuleName>/Setup/InstallSchema.php
At the end of table creation script/ table modify script add following code to create a table index.
Note: this example is for Fulltext index type.
1: ->addIndex( 2: $setup->getIdxName( 3: $setup->getTable('table_name'), 4: ['field1', '
field2
', '
field2
'], 5: \Magento\Framework\DB\Adapter\AdapterInterface::INDEX_TYPE_FULLTEXT 6: ), 7: ['
field1
', '
field2
', '
field3
'], 8: ['type' => \Magento\Framework\DB\Adapter\AdapterInterface::INDEX_TYPE_FULLTEXT] 9: )
Note: You can apply this code to UpgradeSchema.php if you had created module finally.2. You must check the filterSearch section is added into view/adminhtml/ui_component/xyz_listing.xml.
Please update the relevant value with item 'provider', 'chipsProvider' & 'storageConfig'
Flush the cache and test your code.