Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.



Easy Heading Free
navigationTitleOn this Page
wrapNavigationTexttrue
navigationExpandOptionexpand-all-by-default


Step 1. Launch Aspire and Open the Content Source Management Page

Launch Aspire (if it's not already running). See:



Step 2. Add or select a Workflow

  • Add a new workflow or open an existing workflow.
  • For this step, please refer to the Workflow Introduction.



Step 3. Add the Solr Publisher to the Workflow

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


Image RemovedImage Added

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.

  1. Solr URL: Select how you want to enter the Solr URL
    1. Host and Port
      • Solr CoreEnter the Solr core.
      • Solr HostEnter the Solr host.
      • Solr PortEnter the Solr port (9200 8983 by default)
    2. Complete URL
      • Solr URLEnter the URL for the Solr bulk index endpoint, it must have this format <protocol>example: http://<host>:<port>/_bulk
  2. Solr IndexEnter the index to which the jobs are going to be published.


Image Added


Image Removed

Step 3c. Specify Authentication Configuration

 In the Authentication section of the Solr Publisher configuration, specify the authentication information.

  1. None: The server requires no authentication
  2. Basic: Provide credentials for basic authentication
    1. User:Provide the user for basic authentication.
    2. Password: Provide the password for basic authentication.
    Amazon Web Service (AWS): Provide the configuration to authenticate using AWS
    1. Region: Specify the AWS region to use.
    2. Use Credentials Provider Chain: Enable to specify a credentials provider chainAccess Key: Provide the access key for authentication with AWS.Secret Key: Provide the secret key for authentication with AWS.


Step 3d. Specify Transform Documents

 In the Transform Documents section of the Solr Publisher configuration, specify the groovy transformation file path. Publisher configuration, you can choose between specifying a Local Transform File or picking from a previously uploaded Resource Transform File:

  1. Local Transform FileGroovy 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.

Image Removed

Step 3e. Specify Pre- / Post-Processing Options

 In the Pre- / Post-Processing section of the Solr Publisher configuration, specify the Pre- / Post-Processing configuration options.

  1. Resources Transform File: pick the appropriate file that was previously uploaded by using Aspire's "Resources" feature.

Image Added

Image Added


Step 3e

  1. Clear Index on Full Crawl: Select to clear the index on full crawls.
    1. Clear Index by: Select the approach to clear the index.
      1. Deleting All Documents: Deletes the documents from the index.
      2. Delete index: Deletes the index completely.

Image Removed

Step 3f

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

  1. Connection Pool: Connection pool settings.

    1. Idle Connection Timeout: Maximum time (in milliseconds) to keep an idle connection open.
    2. Max Connections: Maximum number of connections to be opened.
    3. Connections per Target: Maximum number of connections opened for the same target.
  2. Timeout Settings: Connection pool timeout settings.
    1. Connection Timeout: Maximum time (in milliseconds) to wait for the connection.
    2. Socket Timeout: Maximum time (in milliseconds) to wait for a socket response.
  3. Connection Throttling: Enable to specify Throttling Settings.
    1. Throttling Period: Time period (in milliseconds) to throttle the connection.
    2. Max Connections per Period: Maximum number of connections used during the Throttling Period.
  4. Retries:
    1. Maximum Retries: Maximum number of retries for a failed document.
    2. Retry Delay: Time period (in milliseconds) to wait before a retry.


Image Added

Image AddedImage Removed

Step

3g

3f. Specify Batching Configuration

 In the Debug section of the Solr Publisher configuration, specify the batching configuration values.

  1. Scanner Job Batch Size: Maximum size of the batches that will be created.
  2. Simultaneous Batches: Number of batches that will be processed simultaneously.
  3. Batch Timeout: Period (in ms) after which a batch of documents will be closed and executed.


Image RemovedImage Added

Step

3h

3g. Specify Debug Configuration

 In the Debug section of the Solr Publisher configuration, specify the Debug flag.

  1. Debug: Check to enable debug mode to show debug messages from the publisher.

Image RemovedImage Added


Step

3i

3h. Click on the Add button

Once you click the add button, the Solr Publisher settings will be saved.