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 Namecom.searchtechnologies.aspire:app-publish-to-cloudsearch
subTypedefault
InputsAspireObject from a connector's subjob with metadata and content extracted from a specific file/folder.
OutputsAn XML transformation of the AspireObject sent to the Amazon CloudSearch doc endpoint.
Type Flagsjob-input
Versions3.1

Configuration


This section lists all configuration parameters available to configure the Publish to Amazon CloudSearch Application Bundle component.

 

FieldTypeDefaultDescription
CloudSearchHostNamestring 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
aspireToCSXslstring${appbundle.home}/config/xsl/aspireToCloudSearch.xslLocation of the XSL to transform the job data to your CloudSearch search domain index fields. See Edit Xsl.
APIVersionstring2011-02-01API version you want to publish to. Could be 2011-02-01 or 2013-01-01.

 

Example Configuration


Simple Configuration

   <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.

Edit Xsl


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>