![]() |
Laserfiche.Repository.Api.Client
1.1.8
|
Public Member Functions | |
| virtual async Task< ODataValueOfBoolean > | CancelOrCloseSearchAsync (string repoId, string searchToken, CancellationToken cancellationToken=default(CancellationToken)) |
| Cancels or closes a search operation. | |
| virtual async Task< AcceptedOperation > | CreateSearchOperationAsync (string repoId, AdvancedSearchRequest request=null, CancellationToken cancellationToken=default(CancellationToken)) |
| Runs a search in the specified repository. | |
| virtual async Task< ODataValueContextOfIListOfContextHit > | GetSearchContextHitsAsync (string repoId, string searchToken, int rowNumber, string prefer=null, string select=null, string orderby=null, int? top=null, int? skip=null, bool? count=null, CancellationToken cancellationToken=default(CancellationToken)) |
| Returns the context hits associated with a search result entry. | |
| async Task | GetSearchContextHitsForEachAsync (Func< ODataValueContextOfIListOfContextHit, Task< bool > > callback, string repoId, string searchToken, int rowNumber, string prefer=null, string select=null, string orderby=null, int? top=null, int? skip=null, bool? count=null, int? maxPageSize=null, CancellationToken cancellationToken=default) |
| Returns the context hits associated with a search result entry using paging. Page results are returned to the callback . | |
| async Task< ODataValueContextOfIListOfContextHit > | GetSearchContextHitsNextLinkAsync (string nextLink, int? maxPageSize=null, CancellationToken cancellationToken=default) |
| Returns the context hits associated with a search result entry using a nextlink. | |
| virtual async Task< ODataValueContextOfIListOfEntry > | GetSearchResultsAsync (string repoId, string searchToken, bool? groupByEntryType=null, bool? refresh=null, IEnumerable< string > fields=null, bool? formatFields=null, string prefer=null, string culture=null, string select=null, string orderby=null, int? top=null, int? skip=null, bool? count=null, CancellationToken cancellationToken=default(CancellationToken)) |
| Returns the results listing associated with a search operation. | |
| async Task< ODataValueContextOfIListOfEntry > | GetSearchResultsAsync (string searchResultsUri, CancellationToken cancellationToken=default) |
| Get search results with uri. | |
| async Task | GetSearchResultsForEachAsync (Func< ODataValueContextOfIListOfEntry, Task< bool > > callback, string repoId, string searchToken, bool? groupByEntryType=null, bool? refresh=null, IEnumerable< string > fields=null, bool? formatFields=null, string prefer=null, string culture=null, string select=null, string orderby=null, int? top=null, int? skip=null, bool? count=null, int? maxPageSize=null, CancellationToken cancellationToken=default) |
| Returns a collection of search results using paging. Page results are returned to the callback . | |
| async Task< ODataValueContextOfIListOfEntry > | GetSearchResultsNextLinkAsync (string nextLink, int? maxPageSize=null, CancellationToken cancellationToken=default) |
| Returns a collection of search results using a nextlink. | |
| virtual async Task< OperationProgress > | GetSearchStatusAsync (string repoId, string searchToken, CancellationToken cancellationToken=default(CancellationToken)) |
| Returns the status of a search operation. | |
| SearchesClient (HttpClient httpClient) | |
| async Task< OperationProgress > | WaitForSearchAsync (string repositoryId, string operationId, TimeSpan timeout, Action< OperationProgress > handleOperationProgress=null, OperationStatus expectedOperationStatus=OperationStatus.Completed, CancellationToken cancellationToken=default) |
| Waits for search to have expected status until timeout. | |
Properties | |
| bool | ReadResponseAsString [get, set] |
|
inlinevirtual |
Cancels or closes a search operation.
| repoId | The requested repository ID. |
| searchToken | The requested searchToken. |
| cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
| ApiException | A server side error occurred. |
Implements ISearchesClient.
|
inlinevirtual |
Runs a search in the specified repository.
| repoId | The requested repository ID. |
| request | The Laserfiche search command to run, optionally include fuzzy search settings. |
| cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
| ApiException | A server side error occurred. |
Implements ISearchesClient.
|
inlinevirtual |
Returns the context hits associated with a search result entry.
| repoId | The requested repository ID. |
| searchToken | The requested searchToken. |
| rowNumber | The search result listing row number to get context hits for. |
| prefer | An optional OData header. Can be used to set the maximum page size using odata.maxpagesize. |
| select | Limits the properties returned in the result. |
| orderby | Specifies the order in which items are returned. The maximum number of expressions is 5. |
| top | Limits the number of items returned from a collection. The maximum value is 150. |
| skip | Excludes the specified number of items of the queried collection from the result. |
| count | Indicates whether the total count of items within a collection are returned in the result. |
| cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
| ApiException | A server side error occurred. |
Implements ISearchesClient.
|
inline |
Returns the context hits associated with a search result entry using paging. Page results are returned to the callback .
| callback | A delegate that will be called each time new data is retrieved. Returns false to stop receiving more data; returns true to be called again if there's more data. |
| cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
| repoId | The requested repository ID. |
| searchToken | The requested searchToken. |
| rowNumber | The search result listing row number to get context hits for. |
| prefer | An optional OData header. Can be used to set the maximum page size using odata.maxpagesize. |
| select | Limits the properties returned in the result. |
| orderby | Specifies the order in which items are returned. The maximum number of expressions is 5. |
| top | Limits the number of items returned from a collection. |
| skip | Excludes the specified number of items of the queried collection from the result. |
| count | Indicates whether the total count of items within a collection are returned in the result. |
| maxPageSize | Optionally specify the maximum number of items to retrieve. |
| ApiException | A server side error occurred. |
Implements ISearchesClient.
|
inline |
Returns the context hits associated with a search result entry using a nextlink.
| nextLink | A url that allows retrieving the next subset of the requested collection. |
| maxPageSize | Optionally specify the maximum number of items to retrieve. |
| cancellationToken | Optional cancellation token that can be used by other objects or threads to receive notice of cancellation. |
| ApiException | A server side error occurred. |
Implements ISearchesClient.
|
inlinevirtual |
Returns the results listing associated with a search operation.
| repoId | The requested repository ID. |
| searchToken | The requested searchToken. |
| groupByEntryType | An optional query parameter used to indicate if the result should be grouped by entry type or not. |
| refresh | If the search listing should be refreshed to show updated values. |
| fields | Optional array of field names. Field values corresponding to the given field names will be returned for each search result. |
| formatFields | Boolean for if field values should be formatted. Only applicable if Fields are specified. |
| prefer | An optional odata header. Can be used to set the maximum page size using odata.maxpagesize. |
| culture | An optional query parameter used to indicate the locale that should be used for formatting. The value should be a standard language tag. The formatFields query parameter must be set to true, otherwise culture will not be used for formatting. |
| select | Limits the properties returned in the result. |
| orderby | Specifies the order in which items are returned. The maximum number of expressions is 5. |
| top | Limits the number of items returned from a collection. The maximum value is 150. |
| skip | Excludes the specified number of items of the queried collection from the result. |
| count | Indicates whether the total count of items within a collection are returned in the result. |
| cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
| ApiException | A server side error occurred. |
Implements ISearchesClient.
|
inline |
Get search results with uri.
| searchResultsUri | Uri string. |
| cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Implements ISearchesClient.
|
inline |
Returns a collection of search results using paging. Page results are returned to the callback .
| callback | A delegate that will be called each time new data is retrieved. Returns false to stop receiving more data; returns true to be called again if there's more data. |
| cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
| repoId | The requested repository ID. |
| searchToken | The requested searchToken. |
| groupByEntryType | An optional query parameter used to indicate if the result should be grouped by entry type or not. |
| refresh | If the search listing should be refreshed to show updated values. |
| fields | Optional array of field names. Field values corresponding to the given field names will be returned for each search result. |
| formatFields | Boolean for if field values should be formatted. Only applicable if Fields are specified. |
| prefer | An optional odata header. Can be used to set the maximum page size using odata.maxpagesize. |
| culture | An optional query parameter used to indicate the locale that should be used for formatting. The value should be a standard language tag. The formatFields query parameter must be set to true, otherwise culture will not be used for formatting. |
| select | Limits the properties returned in the result. |
| orderby | Specifies the order in which items are returned. The maximum number of expressions is 5. |
| top | Limits the number of items returned from a collection. |
| skip | Excludes the specified number of items of the queried collection from the result. |
| count | Indicates whether the total count of items within a collection are returned in the result. |
| maxPageSize | Optionally specify the maximum number of items to retrieve. |
| ApiException | A server side error occurred. |
Implements ISearchesClient.
|
inline |
Returns a collection of search results using a nextlink.
| nextLink | A url that allows retrieving the next subset of the requested collection. |
| maxPageSize | Optionally specify the maximum number of items to retrieve. |
| cancellationToken | Optional cancellation token that can be used by other objects or threads to receive notice of cancellation. |
| ApiException | A server side error occurred. |
Implements ISearchesClient.
|
inlinevirtual |
Returns the status of a search operation.
| repoId | The requested repository ID. |
| searchToken | The requested searchToken. |
| cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
| ApiException | A server side error occurred. |
Implements ISearchesClient.
|
inline |
Waits for search to have expected status until timeout.
| repositoryId | Repository Id |
| operationId | Operation Id |
| timeout | Time to wait for operation to reach expected status |
| handleOperationProgress | Action called for each task progress |
| expectedOperationStatus | Expected OperationStatus, defaults to OperationStatus.Completed. |
| cancellationToken | Optional cancellation token |
Implements ISearchesClient.