Command-Line Options for the XmlPush Application
The options and associated parameters that you can pass on the command-line to both the Java and C# versions of this sample application are the following:
- -v: this optional argument increases the verbosity of the sample application, providing additional information about its internal operation.
- -eendpoint: the URL of the SOAP endpoint that you want to contact. This would be something like the following:
http://hostname.domain.tld/vivisimo/cgi-bin/velocity?v.app=api-soap
The expression hostname.domain.tld represents the name of a host through which you can access a Watson™ Explorer Engine installation, which can consist of a simple hostname or fully-qualified domain name.
Note: If the version of Watson Explorer Engine that you are using is installed on a Microsoft Windows system, you will have to add the .exe extension to the velocity application in this URL. - collection-name: the name of the search collection that you want to enqueue data to and optionally create.
Note: The collection used by this sample application is based on the default push collection, which is aptly named default-push. This collection does not apply techniques such as depluralization or support for wildcards or regular expressions. When query a collection based on the default-push collection, you must therefore use a query that exactly matches one or more terms in the indexed content. (Upper/lower case differences are still ignored.)
- file1... fileN: the full or relative path names of one or more files that you want to add to the specified search collection.