Interface ISearchDelegator
-
- All Known Subinterfaces:
IOptionsServer,IServer,IStreamingServer
- All Known Implementing Classes:
NtsServerImpl,OneShotServerImpl,RpcServer,SearchDelegator,Server
public interface ISearchDelegatorInterface to handle the Search command.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<java.lang.String>searchJobs(java.lang.String words, SearchJobsOptions opts)Search for jobs that contain the specified words in the search engine's index.
-
-
-
Method Detail
-
searchJobs
java.util.List<java.lang.String> searchJobs(java.lang.String words, SearchJobsOptions opts) throws P4JavaExceptionSearch for jobs that contain the specified words in the search engine's index.Note that this is an 'undoc' Perforce command.
See also 'p4 help index'.
- Parameters:
words- non-null words to be searched.opts- SearchJobsOptions object describing optional parameters; if null, no options are set.- Returns:
- non-null (but possibly-empty) list of job IDs.
- Throws:
P4JavaException- if an error occurs processing this method and its parameters.- Since:
- 2013.1
-
-