public interface SearchesClient
| Modifier and Type | Method and Description |
|---|---|
SearchContextHitCollectionResponse |
listSearchContextHits(ParametersForListSearchContextHits parameters)
- Returns the context hits associated with a search result entry.
- Given a taskId, and rowNumber associated with a search entry in the listing, return the context hits for that entry. - Default page size: 100. |
void |
listSearchContextHitsForEach(Function<SearchContextHitCollectionResponse,Boolean> callback,
Integer maxPageSize,
ParametersForListSearchContextHits parameters)
Provides the functionality to iteratively (i.e.
|
SearchContextHitCollectionResponse |
listSearchContextHitsNextLink(String nextLink,
int maxPageSize)
Returns the next subset of the requested collection, using a nextlink url.
|
EntryCollectionResponse |
listSearchResults(ParametersForListSearchResults parameters)
- Returns a search result listing if the search is completed.
- Search results expire after 5 minutes, but can be refreshed by retrieving the results again. - Optional query parameter: groupByOrderType (default false). |
void |
listSearchResultsForEach(Function<EntryCollectionResponse,Boolean> callback,
Integer maxPageSize,
ParametersForListSearchResults parameters)
Provides the functionality to iteratively (i.e.
|
EntryCollectionResponse |
listSearchResultsNextLink(String nextLink,
int maxPageSize)
Returns the next subset of the requested collection, using a nextlink url.
|
StartTaskResponse |
startSearchEntry(ParametersForStartSearchEntry parameters)
- Runs a search operation on the repository.
- The status for search operations must be checked via the Tasks route. - Optional body parameters: FuzzyType: (default none), which can be used to determine what is considered a match by number of letters or percentage. |
StartTaskResponse startSearchEntry(ParametersForStartSearchEntry parameters)
parameters - An object of type ParametersForStartSearchEntry which encapsulates the parameters of startSearchEntry method.StartTaskResponse The return valueSearchContextHitCollectionResponse listSearchContextHits(ParametersForListSearchContextHits parameters)
parameters - An object of type ParametersForListSearchContextHits which encapsulates the parameters of listSearchContextHits method.SearchContextHitCollectionResponse The return valueSearchContextHitCollectionResponse listSearchContextHitsNextLink(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.SearchContextHitCollectionResponse The return valuevoid listSearchContextHitsForEach(Function<SearchContextHitCollectionResponse,Boolean> callback, Integer maxPageSize, ParametersForListSearchContextHits parameters)
listSearchContextHits, 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 ParametersForListSearchContextHits which encapsulates the parameters of listSearchContextHits method.EntryCollectionResponse listSearchResults(ParametersForListSearchResults parameters)
parameters - An object of type ParametersForListSearchResults which encapsulates the parameters of listSearchResults method.EntryCollectionResponse The return valueEntryCollectionResponse listSearchResultsNextLink(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.EntryCollectionResponse The return valuevoid listSearchResultsForEach(Function<EntryCollectionResponse,Boolean> callback, Integer maxPageSize, ParametersForListSearchResults parameters)
listSearchResults, 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 ParametersForListSearchResults which encapsulates the parameters of listSearchResults method.Copyright © 2025. All rights reserved.