Categories

Versions

You are viewing the RapidMiner Legacy documentation for version 9.9 - Check here for latest version

Creating Other Connections

This connection management is deprecated. Please use the new connection management.

Several operators provide access to other third-party or commercial data sources — Solr, Amazon S3, or Salesforce, to name a few. To use those data sources, the operators need a "connection" to connect to the data source and provide access to the data. For the purposes of providing an example, this section describes creating a connection to a Solr search engine.

Solr is an open-source search platform that provides very fast full text search capabilities. Using RapidMiner’s Solr operators, you can write processes to analyze or monitor text. RapidMiner’s Solr Connector extension allows you to search data, via query, in a Solr server collection and add the results of your analysis into an example set for a different collection.

Note: To use the Solr operators, you must have a Solr server configured with at least one collection. If you have not configured your Solr environment, see the Solr documentation.

Before you can use the Solr connector, you must:

  • download and install the Solr Connector extension from the RapidMiner RapidMiner Marketplace onto RapidMiner Studio. Similar to database connections, the extension and the related operator must be installed on every RapidMiner Studio instance that will use the Solr server connection.

  • install the extension on RapidMiner Server.

    Note: Be sure to restart RapidMiner Server after installation and then restart RapidMiner Studio (after the server restart).

  • configure a connection to your Solr server. Making the connection requires that you know the connection details of your account.

The Solr Connector extension has a dependency on the Text extension. RapidMiner Studio automatically downloads both from the Marketplace, but RapidMiner Server requires that you download each individually.

Creating connections from RapidMiner Studio

You must have admin privileges to modify or create connections on RapidMiner Server from RapdiMiner Studio. You can log in temporarily to a user's RapidMiner Studio installation to create a connection for them.

  1. If you haven't already done so, from RapidMiner Studio, connect to RapidMiner Server by adding a new or expanding an existing RapidMiner Server repository.

  2. From the Connections menu, select Manage Connections Icon Manage Connections to open the Manage Connections dialog box. Log in as admin, if required.

  3. Click on Add Connection Add Connection Icon in the lower left to open the Create Connection dialog.

  4. In the dialog, provide a name for the new connection on RapidMiner Server and set Location to your RapidMiner Server repository name. From the Connection type pull-down, select Solr Connection and then click Create.

  5. The Manage Connections window displays the new Solr connection with configuration fields to the right.

    Complete the fields:

    1. Specify the URL for your Solr server, in the form http://<server_IP_address>:<port>/solr.
    2. Solr does not include its own authentication. If you have added an authentication mechanism (for example, HTTP authentication) to your Solr server deployment, click the uses authentication box to expose an area where you can add login credentials.
    3. Click the Test icon to test the connection to your Solr server.
  6. To grant users access to the connection, click on the edit Edit button. For more details, see the instructions for assigning access rights.

  7. Click Save all changes to save your connection configuration.

  1. From RapidMiner Studio, select Manage Connections Icon Connections > Manage Connections. The Manage Connections dialog opens, with an admin login button available:

  2. Select Login as admin. The login dialog opens.

  3. Enter your admin credentials and click Login Login as admin. You can now make changes as described above. 4.

Creating connections from RapidMiner Server

As an alternative to the above method, you can create the connection directly in RapidMiner Server.

  1. From the Administration menu, select Connections.

  2. Hover over the Add Connection Icon button to see a list of available connections. Select Solr Connection.

  3. The New Solr Connection window opens. Highlight the text New Solr Connection and give the connection a more meaningful name.

  4. On the Properties tab, enter the URL for your Solr server. (Select uses_authentication if appropriate.) Test the connection and make any adjustments until the connection is confirmed.

  5. To grant access to users click on the Permissions tab (see the instructions for assigning access rights, if necessary). Click Manage Connections Icon Submit to save the connection.

You can now run processes with operators that use the Solr connection to your Solr server in RapidMiner Server.