Detailed information on configuring the Publish to SolrCloud App Bundle.
The Publish to Solr application sends document feeds, to the Solr index update servlet, of metadata and content of files extracted by Aspire connectors. The feed to Solr can be customized by
editing the XSL transformation file provided by the user.
Publish to SolrCloud | |
---|---|
Factory Name | com.searchtechnologies.aspire:app-publish-to-solrj |
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 Solr's xmlfeed URL. |
Versions | 3.1, 3.2 |
Type Flags | job-input |
This section lists all configuration parameters available to configure the Publish to SolrCloud component.
Property | Type | Default | Description |
---|---|---|---|
zkHost | string | none | Zookeeper hostname or IP address. |
zkPort | interger | 8983 | Zookeeper port number where to send the feeds |
solrCollection | string | none | Solr collection name to submit post documents using binary request handler for increased index performance. |
SolrUrl | string | none | Complete Url where the feeds are going to be send. e.g. http://localhost:8983/solr/core/update |
aspireToSolrXsl | string | ${appbundle.home}/config/xsl/aspireToSolr.xsl | Location of the XSL to transform the job data to a Solr feed. See Edit Xsl. |
batchSize | int | How many documents to fetch per batch. | |
maxTries | int | Maximum number of retry attempt to index. | |
retryWait | int | Seconds to wait before re-trying to index. | |
fieldListPath | String | XPath expression to process field list. |
<application config="com.searchtechnologies.aspire:app-publish-to-solrj">
<properties>
<property name="BatchSize">50</property>
<property name="RetryWait">3</property>
<property name="FieldListPath">/add/doc/fieldList</property>
<property name="AspireToSolrXsl">${appbundle.home}/config/xsl/aspireToSolr.xsl</property>
<property name="debug">true</property>
<property name="MaxTries">3</property>
<property name="ZKPort">9983</property>
<property name="SolrCollection">collection1</property>
<property name="ZKHost">localhost</property>
</properties>
</application>
Any optional properties can be removed from the configuration to use the default value described on the table above.