Interface ISearchDelegator

All Known Subinterfaces:
IOptionsServer, IServer, IStreamingServer
All Known Implementing Classes:
NtsServerImpl, OneShotServerImpl, RpcServer, SearchDelegator, Server

public interface ISearchDelegator
Interface to handle the Search command.
  • Method Summary

    Modifier and Type
    Method
    Description
    Search for jobs that contain the specified words in the search engine's index.
  • Method Details

    • searchJobs

      List<String> searchJobs(String words, SearchJobsOptions opts) throws P4JavaException
      Search 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