A search engine factory with different data sources.
func makeOnlineManager() throws -> ISearchManager?
Creates a search engine working online.
ISearchManager?
func makeOfflineManager() throws -> ISearchManager?
Creates a search engine working with preloaded data.
func makeSmartManager() throws -> ISearchManager?
Creates a search engine working online or with preloaded data depending on the availability of internet connection.