You are here

search

search executes a query against the contents of the repository using the specified keywords and search language.

search

public List<Node> search(String statement, SearchLanguage language) executes a query against the contents of the repository using the specified statement and language.

Parameters

String statement
A query statement in the specified search language.
SearchLanguage language
The search language used. See SearchLanguage for further information.

Returns

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

Example

search

public PagingResult<Node> search(String statement, SearchLanguage language, ListingContext listingContext) executes a query against the contents of the repository using the specified statement and language.

Parameters

String statement
A query statement in the specified search language.
SearchLanguage language
The search language used. See SearchLanguage for further information.
ListingContext listingContext
The listing context to use to control paging of results. See ListingContext for further information.

Returns

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

Example