createSearchEngine

fun createSearchEngine(settings: SearchEngineSettings): SearchEngine

Creates a new instance of the SearchEngine with a default ApiType. A new instance doesn't have any IndexableDataProvider registered by default.

Return

a new instance instance of SearchEngine.

See also

Parameters

settings

SearchEngine settings.

fun createSearchEngine(apiType: ApiType, settings: SearchEngineSettings): SearchEngine

Creates a new instance of the SearchEngine. A new instance doesn't have any IndexableDataProvider registered by default.

Return

a new instance instance of SearchEngine.

See also

Parameters

settings

SearchEngine settings.

apiType

The type of the API used by the Search Engines. Note that ApiType.GEOCODING is the only available publicly. You might need to contact sales to enable access for other API types.