How to get current search engine enabled value Magento 2?

In Magento, You can get the value of the current enable search engine value programmatically.

You can set Search engine from the admin panel

Settings -> Configuration -> Catalog -> Catalog -> Catalog Search -> Search Engine.

To Retrieve the Current search engine value programmatically by interface, Magento\Framework\Search\EngineResolverInterface