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