How to get visible in advanced search filter attribute list Magento 2?

Retrieve a list of all is_visible_in_advanced_search filter product attribute list in Magento 2.

This article returns all those product attributes which are used in the advanced search result page.

To get a list of attributes, We need to use CollectionFactory Object from the Catalog Module.
Magento\Catalog\Model\ResourceModel\Product\Attribute\CollectionFactory

Call method to fetch a list of attributes object, iterate a loop over it and get all the attribute code,

The Output will be an attribute of name, SKU, description, price and you have enabled all the advanced search to enable from the Product attribute.