Step 3: Add a new Publish to Solr to the Workflow
To add a Publisher to Solr, drag from the Publish to Solr rule from the Workflow Library and drop to the Workflow Tree where you want to add it. This will automatically open the Publish to Solr window for the configuration of the publisher.
Publish to Solr Configuration Aspire 2.0.x
Publish to Solr Configuration Aspire 2.1 +
In the Publish to Solr window, specify the connection information for publishing to the Solr instance.
- Enter the name of the publisher. (This name must be unique).
- Enter the description of the publisher that will be shown in the Workflow Tree.
- Enter the Specify Solr Update URL
- Host and port (Not supported from version Solr 5)
- Enter the Solr host
- Enter the Solr port (8983 by default)
- Complete URL
- Enter the URL for the Solr server, it must have this format <protocol>://<host>:<port>/solr/core/update
- (2.1 Release) Max Results per request: How many documents can be fetched by the search engine for the same query
- (2.1 Release) Page size: How many documents to fetch per page
- (2.1 Release) Url field: Field used to store the URL in Solr
- (2.1 Release) Id field: Field used to store the ID in Solr. Used to compare against the content source audit logs
- (2.1 Release) Timestamp field: the name of the timestamp field added to the XSL file (and to the Solr schema) to hold the index timestamp of every document.
- XSL File Path: set to the default parameter to use the default XSL transformation file. To use a custom file, follow the instructions in Edit Xsl
- Debug: Check if you want to run the publisher in debug mode.
- Click on the Add button.
Once you've clicked on the Add button, it will take a moment for Aspire to download all of the necessary components (the Jar files) from the Maven repository and load them into Aspire. Once that's done, the publisher will appear in the Workflow Tree.
For details on using the Workflow section, please refer to Workflow introduction.