Uploader

public class Uploader extends Object

This class reads in a json file to upload all the requests to the cloudSearch indexing API

    java
    -Dpayload={your json file contains all the request} \
    -Dapi.serviceAccountPrivateKeyFile={service account private key file} \
    -DrootUrl=https://www.googleapis.com/ \
    -jar cloudsearch-uploader-{version}.jar
  
payload is the json file which contains the source Id and all the requests related to it. api.serviceAccountPrivateKeyFile is the file contains private key information. If it is not a json file then api.serviceAccountId is compulsory. Detailed schema of request json file can be found at UploadRequest.

Public Method Summary

static void
main(String[] args)

Inherited Method Summary

Public Methods

public static void main (String[] args)

Parameters
args
Throws
IOException
GeneralSecurityException
InterruptedException

Send feedback about...

Cloud Search
Cloud Search