Publish to Solr Tutorial (Aspire 2)

From wiki.searchtechnologies.com
Jump to: navigation, search

For Information on Aspire 3.1 Click Here

Step 1: Launch Aspire and open the Content Source Management Page

Aspire Content Source Management Page

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

Browse to: http://localhost:50505. For details on using the Aspire Content Source Management page, please refer to the UI Introduction.


Step 2: Create a new Content Source

For this step please follow the steps from the Configuration Tutorial of the connector of your choice. Please refer to the Connector list.

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.

Step 3a: Specify Publisher Information

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.

  1. Enter the name of the publisher. (This name must be unique).
  2. Enter the description of the publisher that will be shown in the Workflow Tree.
  3. 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
  4.  (2.1 Release)   Max Results per request: How many documents can be fetched by the search engine for the same query
  5.  (2.1 Release)   Page size: How many documents to fetch per page
  6.  (2.1 Release)   Url field: Field used to store the URL in Solr
  7.  (2.1 Release)   Id field: Field used to store the ID in Solr. Used to compare against the content source audit logs
  8.  (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.
  9. 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
  10. Debug: Check if you want to run the publisher in debug mode.
  11. 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.