Creating New Apache Solr Connections

Apache Solr data connection allows you to build visualizations and apps using Solr’s search engine.

Availability Notes:
  • Datasets built on Apache Solr data connections do not support the construction of visuals with measure aggregates, other than Record Count. Arcadia does not use other fields that may be placed on Measure-type shelves.
  • The Visual Designer interface for Apache Solr includes a Search shelf.
  • Some visual types are not available, or uninformative, on Apache Solr connections because they require multiple measure aggregations.
  • Arcadia Data supports table joins, but not the more advanced data modeling and analysis options, such as attribute dimension to measure conversion, events, segments, filter associations, derived data, and so on.

The following steps demonstrate how to create new Apache Solr data connections.

Create New Data Connection Modal Window: Solr
Create a New Apache Solr Data Connection
  1. On the main navigation bar, click Data.

    Click DATA on main nav

    The Data view appears, open on the Datasets tab.

    Main landing page of DATA
  2. In the side bar, click New Connection.

    Create New Connection

    The Create New Data Connection modal window appears.

  3. In the Create New Data Connection modal window, under Connection type, select Apache Solr.
  4. Under Connection name, specify the name of the new connection. Here, we use SolrConnection.
  5. Under Hostname or IP address, specify the name of your database host, or its IP address; use localhost when the data source is local.

  6. Under Port #, enter the port number. The default port # for Arcadia Engine connections is 8983.
  7. Under Type, you have a choice between the default Cloud mode, and Standalone.
  8. Under Credentials, complete the following entries.

    • Under Username, enter the username for establishing the connection.

    • Under Password, enter the password for establishing the connection.

  9. Click the Cache tab.

    Cache tab, specifying Result Cache Enable and Retention Time options
    Specifying Cache
  10. Select the Result Cache option to enable periodic cache updates.

  11. In the Retention Time field, specify the frequency of cache updates, in seconds.

    For example, the default value of 86400 indicates an update every 24 hours, and a value of 300 initiates a refresh every 5 minutes.

  12. At the bottom of the modal, click Test.

    testing connection
    Testing the New Connection

    If the connection is valid, the system returns a 'Connection Verified' message.

  13. Click Connect.

    connection verified, connecting
    Connecting a Verified Connection

After this operation succeeds, the new connection name appears on the side navigation bar.