ISearchManager
Search engine. The main entry point for the reference API.
Methods
func suggest(
query: SuggestQuery
) -> Future<SuggestResult>
Gets hints that match this query.
Parameters
query
SuggestQuery
Query for a search hint in a directory.
func search(
query: SearchQuery
) -> Future<SearchResult>
Gets the directory objects that match the given query.
Parameters
query
SearchQuery
Query for directory search prompts.
func searchById(
id: String
) -> Future<DirectoryObject?>
Gets a directory object by its string identifier.
Parameters
id
String
Directory string identifier. A complex identifier, which is obtained as a result of a WebAPI query, is possible.
func searchByDirectoryObjectId(
objectId: DgisObjectId
) -> Future<DirectoryObject?>
Gets a directory object by its identifier.
Parameters
objectId
DgisObjectId
Object identifier in a directory.