here is a good code to change the default ui component filter that i wanna shear it with you. you can change it as you wish. put it in collection class.
protected function _renderFiltersBefore() {
$objectManager = \Magento\Framework\App\ObjectManager::getInstance();
$request = $objectManager->get('Magento\Framework\App\Request\Http');
$filters = $request->getParam("filters");
if (isset($filters['product_name'])) {
$this->getSelect()->orWhere("product_name = '%" . $filters['product_name'] . "%'");
}
parent::_renderFiltersBefore();
}