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 the directory objects that match this query.
Parameters
query
SearchQuery
Query for directory search prompts.
func searchById(
id: String
) -> Future<DirectoryObject?>
Get 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?>
Get a directory object by its identifier.
Parameters
objectId
DgisObjectId
Object identifier in a directory.