public interface SearchesClient
| Modifier and Type | Method and Description |
|---|---|
ODataValueOfBoolean |
cancelOrCloseSearch(ParametersForCancelOrCloseSearch parameters)
- Cancels a currently running search.
- Closes a completed search. |
AcceptedOperation |
createSearchOperation(ParametersForCreateSearchOperation parameters)
- Runs a search operation on the repository.
- Optional body parameters: FuzzyType: (default none), which can be used to determine what is considered a match by number of letters or percentage. |
ODataValueContextOfIListOfContextHit |
getSearchContextHits(ParametersForGetSearchContextHits parameters)
- Returns the context hits associated with a search result entry.
- Given a searchToken, and rowNumber associated with a search entry in the listing, return the context hits for that entry. - Default page size: 100. |
void |
getSearchContextHitsForEach(Function<ODataValueContextOfIListOfContextHit,Boolean> callback,
Integer maxPageSize,
ParametersForGetSearchContextHits parameters)
Provides the functionality to iteratively (i.e.
|
ODataValueContextOfIListOfContextHit |
getSearchContextHitsNextLink(String nextLink,
int maxPageSize)
Returns the next subset of the requested collection, using a nextlink url.
|
ODataValueContextOfIListOfEntry |
getSearchResults(ParametersForGetSearchResults parameters)
- Returns a search result listing if the search is completed.
- Optional query parameter: groupByOrderType (default false). |
void |
getSearchResultsForEach(Function<ODataValueContextOfIListOfEntry,Boolean> callback,
Integer maxPageSize,
ParametersForGetSearchResults parameters)
Provides the functionality to iteratively (i.e.
|
ODataValueContextOfIListOfEntry |
getSearchResultsNextLink(String nextLink,
int maxPageSize)
Returns the next subset of the requested collection, using a nextlink url.
|
OperationProgress |
getSearchStatus(ParametersForGetSearchStatus parameters)
- Returns search status.
- Provide a token (returned in the create search asynchronous route), and get the search status, progress, and any errors that may have occurred. |
OperationProgress getSearchStatus(ParametersForGetSearchStatus parameters)
parameters - An object of type ParametersForGetSearchStatus which encapsulates the parameters of getSearchStatus method.OperationProgress The return valueODataValueOfBoolean cancelOrCloseSearch(ParametersForCancelOrCloseSearch parameters)
parameters - An object of type ParametersForCancelOrCloseSearch which encapsulates the parameters of cancelOrCloseSearch method.ODataValueOfBoolean The return valueODataValueContextOfIListOfContextHit getSearchContextHits(ParametersForGetSearchContextHits parameters)
parameters - An object of type ParametersForGetSearchContextHits which encapsulates the parameters of getSearchContextHits method.ODataValueContextOfIListOfContextHit The return valueODataValueContextOfIListOfContextHit getSearchContextHitsNextLink(String nextLink, int maxPageSize)
nextLink - A url that allows retrieving the next subset of the requested collection.maxPageSize - Optionally specify the maximum number of items to retrieve.ODataValueContextOfIListOfContextHit The return valuevoid getSearchContextHitsForEach(Function<ODataValueContextOfIListOfContextHit,Boolean> callback, Integer maxPageSize, ParametersForGetSearchContextHits parameters)
getSearchContextHits, and apply a function on the response of each iteration.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.maxPageSize - Optionally specify the maximum number of items to retrieve.parameters - An object of type ParametersForGetSearchContextHits which encapsulates the parameters of getSearchContextHits method.AcceptedOperation createSearchOperation(ParametersForCreateSearchOperation parameters)
parameters - An object of type ParametersForCreateSearchOperation which encapsulates the parameters of createSearchOperation method.AcceptedOperation The return valueODataValueContextOfIListOfEntry getSearchResults(ParametersForGetSearchResults parameters)
parameters - An object of type ParametersForGetSearchResults which encapsulates the parameters of getSearchResults method.ODataValueContextOfIListOfEntry The return valueODataValueContextOfIListOfEntry getSearchResultsNextLink(String nextLink, int maxPageSize)
nextLink - A url that allows retrieving the next subset of the requested collection.maxPageSize - Optionally specify the maximum number of items to retrieve.ODataValueContextOfIListOfEntry The return valuevoid getSearchResultsForEach(Function<ODataValueContextOfIListOfEntry,Boolean> callback, Integer maxPageSize, ParametersForGetSearchResults parameters)
getSearchResults, and apply a function on the response of each iteration.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.maxPageSize - Optionally specify the maximum number of items to retrieve.parameters - An object of type ParametersForGetSearchResults which encapsulates the parameters of getSearchResults method.Copyright © 2025. All rights reserved.