The ID of the search to cancel
Disposes the service by aborting all ongoing searches.
Protected
extractThe default search paths are set to be the root paths associated to a workspace however the search scope can be further refined with the include paths available in the search options. This method will replace the searching paths to the ones specified in the 'include' options but as long as the 'include' paths can be successfully validated as existing.
Therefore the returned array of paths can be either the workspace root paths or a set of validated paths derived from the include options which can be used to perform the search.
Any pattern that resulted in a valid search path will be removed from the 'include' list as it is provided as an equivalent search path instead.
Initiates a search operation and returns a search ID.
The search term or pattern
Array of root URIs to search in
Search options including filters and limits
Promise resolving to the search ID
Sets the client for receiving search results
Protected
shouldChecks if a path should be excluded based on exclude patterns.
The URI to check
Array of exclude patterns
True if the path should be excluded
Cancels an ongoing search operation.