You are here

keywordSearch

keywordSearch executes a search against the contents of the repository using the specified keywordSearch string and options.

keywordSearch

public List<Node> keywordSearch(String keywords, KeywordSearchOptions options) executes a search against the contents of the repository using the specified keywordSearch string. The options determine behavior such as whether to restrict the search to a specific folder or to perform a full-text search.

Parameters

String keywords
A space delimited list of keywords to search for.
KeywordSearchOptions options
Options to define search behavior. See KeywordSearchOptions for further information.

Returns

Returns a List<Node> representing a list of found nodes.

Exception

Throws an SkyVaultServiceException if the operation cannot be carried out.

Example

keywordSearch

public PagingResult<Node> keywordSearch(String keywords, KeywordSearchOptions options, ListingContext listingContext) executes a search against the contents of the repository using the specified keywordSearch string. The options determine behavior such as whether to restrict the search to a specific folder or to perform a full-text search.

Parameters

String keywords
A space delimited list of keywords to search for.
KeywordSearchOptions options
Options to define search behavior. See KeywordSearchOptions for further information.
ListingContext listingContext
The listing context to use to control paging of results. See ListingContext for further information.

Returns

Returns a PagingResult<Node> representing a list of found nodes.

Exception

Throws an SkyVaultServiceException if the operation cannot be carried out.

Example