About the IAS Server Java client program

The IAS Server Java Client (as coded in the IasServerSampleClient.java source file) demonstrates a number of basic crawling operations.

The Endeca IAS Server Java Client is intended to provide a working example of a client that communicates with a running IAS Server and issues file system crawling requests. The sample client program is therefore a template that you can use as a basis for your own client program.

The package includes all the libraries needed to build clients. It also includes an Ant build script (which can compile and run the sample program) as well as Eclipse .project and .classpath files for the sample client.

Important: Please note that before starting Eclipse, you should run at least ant compile so that Eclipse can find the generated Web service stubs.
The sample client application performs the following actions:
  1. Makes a connection to the IAS Service.
  2. Creates a new file system crawl (named SampleClientTestCrawl), with the current working directory of the sample client (.\ on Windows or ./ on UNIX) as the seed.
  3. Runs a full crawl.
  4. Updates the crawl configuration by adding file filters and enabling document conversion.
  5. Runs a second full crawl, this time using the new filters and extracting text from documents.
  6. Deletes the sample crawl.

Note that a default time limit of 10 seconds is set on both crawls, which means that in most cases the crawl output will not contain all the files on your file system.

The output files are written to the workspace/output/SampleClientTestCrawl directory, using a non-compressed XML file format. You can use a text editor to view the contents of the output.