File upload and index sample in Java.
This sample is intended to be raw and illustrate basic functionality for uploading and indexing a document. Refer to the C# sample for additional details, and refer to the Square 9 REST API documentation for a complete list of REST endpoints.