Magento – how to advanced search a products programatically

catalogsearchmagento2programmatically

I need to search a products using advanced search with custom attributes programmatically. My advanced search works fine, i need to search product programmatically with our custom attributes.

I follow this link But magento 2 doesn't have these files vendor/magento/module-search/Model/ResourceModel/Query/Collection.php

Suggest me How to do this.

Best Answer