Select the event for which you want to add the Solr Publisher to, from the Event combo.
To add an Solr Publisher, drag the Solr Publisher from the Rules Section on the right side of the screen and drop it below the Workflow Event to the left side of the screen. This will automatically open the Solr Publisher window for the configuration of the publisher.
Step 3a. Specify a description for the Publisher
In the top section of the Solr Publisher configuration window, specify the description for the publisher.
Step 3b. Specify Server Configuration
In the Server section of the Solr Publisher configuration, specify the information related to the server.
Solr URL: Select how you want to enter the Solr URL
In the Authentication section of the Solr Publisher configuration, specify the authentication information.
None: The server requires no authentication
Basic: Provide credentials for basic authentication
User:Provide the user for basic authentication.
Password: Provide the password for basic authentication.
Step 3d. Specify Transform Documents
In the Transform Documents section of the Solr Publisher configuration, specify the groovy transformation file path.
Groovy Transform: the default value is set to "${component.home}/config/groovy/transform.groovy" for the default JSON transformation file provided with Aspire. To use a custom file, follow the instructions in JSON Transformation.
Step 3e. Specify Connection Settings Values
In the Connection Settings section of the Solr Publisher configuration, specify the Connection Settings values for the connection to the server.
Connection Pool: Connection pool settings.
Idle Connection Timeout: Maximum time (in milliseconds) to keep an idle connection open.
Max Connections: Maximum number of connections to be opened.
Connections per Target: Maximum number of connections opened for the same target.
Timeout Settings: Connection pool timeout settings.
Connection Timeout: Maximum time (in milliseconds) to wait for the connection.
Socket Timeout: Maximum time (in milliseconds) to wait for a socket response.
Connection Throttling: Enable to specify Throttling Settings.
Throttling Period: Time period (in milliseconds) to throttle the connection.
Max Connections per Period: Maximum number of connections used during the Throttling Period.
Retries:
Maximum Retries: Maximum number of retries for a failed document.
Retry Delay: Time period (in milliseconds) to wait before a retry.
Step 3f. Specify Batching Configuration
In the Debug section of the Solr Publisher configuration, specify the batching configuration values.
Scanner Job Batch Size: Maximum size of the batches that will be created.
Simultaneous Batches: Number of batches that will be processed simultaneously.
Batch Timeout: Period (in ms) after which a batch of documents will be closed and executed.
Step 3g. Specify Debug Configuration
In the Debug section of the Solr Publisher configuration, specify the Debug flag.
Debug: Check to enable debug mode to show debug messages from the publisher.
Step 3h. Click on the Add button
Once you click the add button, the Solr Publisher settings will be saved.