The Publish to Amazon CloudSearch application sends document feeds to a CloudSearch doc endpoint of metadata and content of files extracted by Aspire connectors. The feed to the Amazon CloudSearch can be customized by editing the XSL transformation file provided by the user.
Publish to Amazon CloudSearch Application Bundle | |
---|---|
Factory Name | com.searchtechnologies.aspire:app-publish-to-cloudsearch |
subType | default |
Inputs | AspireObject from a connector's subjob with metadata and content extracted from a specific file/folder. |
Outputs | An XML transformation of the AspireObject sent to the Amazon CloudSearch doc endpoint. |
Type Flags | job-input |
Versions | 3.1, 3.2 |
This section lists all configuration parameters available to configure the Publish to Amazon CloudSearch Application Bundle component.
Field | Type | Default | Description |
---|---|---|---|
CloudSearchHostName | string | The CloudSearch doc endpoint or IP address. In other words, the host name where documents are submitted. Get this from your CloudSearch console. For example: doc-my-search-domain-odqxfqrjhpv6xd6ucv3mk3ky2m.us-east-1.cloudsearch.amazonaws.com | |
aspireToCSXsl | string | ${appbundle.home}/config/xsl/aspireToCloudSearch.xsl | Location of the XSL to transform the job data to your CloudSearch search domain index fields. See Edit Xsl. |
APIVersion | string | 2011-02-01 | API version you want to publish to. Could be 2011-02-01 or 2013-01-01. |
<application config="com.searchtechnologies.aspire:app-publish-to-cloudsearch"> <properties> <CloudSearchHostName>doc-my-search-domain-odqxfqrjhpv6xd6ucv3mk3ky2m.us-east-1.cloudsearch.amazonaws.com</CloudSearchHostName> <aspireToCSXsl>${appbundle.home}/config/xsl/aspireToCloudSearch.xsl</aspireToCSXsl> <APIVersion>2011-02-01</APIVersion> <debug>false</debug> </properties> </application>
Any optional properties can be removed from the configuration to use the default value described on the table above.
The default XSL transformation file can be found in AspireToCloudSearch.xsl.
To add additional fields from a connector, you can use the following XSL sample:
<xsl:if test="connectorSpecific/field[@name = 'fieldname']"> <field name="cloudsearchfieldname"><xsl:value-of select="connectorSpecific/field[@name = 'fieldname']" /></field> </xsl:if>