Manage the Apache Solr Connector

The Composer Apache Solr connector lets you access the data available in your Apache Solr databases using the Composer client. The Composer Apache Solr connector supports Apache Solr versions 7.4 through 8.4.

Before you can establish a connection from Composer to an Apache Solr database, a connector server needs to be installed, configured and enabled. See Manage Connectors and Connector Servers for general instructions and Connect to Apache Solr for details specific to the Apache Solr connector.

After the connector has been set up, you can create data source configurations that specify the necessary connection information and identify the data you want to use. See Manage Data Source Configurations for more information. After data sources are configured, they can be used to create dashboards and visuals from your data. See Create Dashboards.

Composer Feature Support

Apache Solr connector support for specific Composer features is shown in the following table.

Key: P - Supported; O - Not Supported; N/A - not applicable

Feature Supported? Notes
Admin-Defined Functions O  
Box Plots P
Custom SQL Queries N/A  
Derived Fields (Row-Level Expressions) O
Distinct Counts P
Fast Distinct Values P  
Group By Multiple Fields P  
Group By Time P  
Group By UNIX Time P  
Histogram Floating Point Values O  
Histograms P  
Kerberos Authentication
Last Value O  
Live Mode and Playback P  
Multivalued Fields P The Apache Solr JSON API does not support metrics by multivalued fields.
Nested Fields O  
Partitions N/A  
Pushdown Joins for Fusion Data Sources O  
Schemas N/A  
Text Search P  
TLS O  
User Delegation P
Wild Card Filters P  
Wild Card Filters, Case-Insensitive Mode O Case-sensitivity cannot be enforced. Consequently, neither case-sensitive or case-insensitive wild card filters are supported.
Wild Card Filters, Case-Sensitive Mode O Case-sensitivity cannot be enforced. Consequently, neither case-sensitive or case-insensitive wild card filters are supported.

In addition, Apache Solr supports the Request Handler field on the Tables/Indices tab of the data source configuration. You can use this box at the top of the Field table on the Tables/Indices tab to specify a request handler plug-in that defines the logic used when executing a search request.

For Kerberos authentication instructions, see Connect to Apache Solr Data Stores That Use Kerberos Authentication. For instructions on using user delegation with the Apache Solr connector, see Configure User Delegation for the Apache Solr Connector.

Connect to Apache Solr

You can configure the Composer Apache Solr connector to connect to a kerberized Apache Solr data store. For more information, see Connect to Apache Solr Data Stores That Use Kerberos Authentication.

When establishing a connection to Apache Solr, you must provide the following information.

  1. Select the hosting type: Standalone or Cloud.

  2. Specify a Solr Base URL.

  3. Specify the version of the Solr source that you are going to connect to in the following format: <major>.<minor>.<patch>. This field is optional.

    While connecting to Solr, Composer first checks its version. If the version is not available, Composer checks the version that you have specified in this field and attempts to connect that version.

  4. If authentication has been set up, provide the user name and password.

Dashboard and Visual Considerations

Distinct count and percentiles metrics return approximate values in Solr, due to the nature of the data source. The precision of the result returned by distinct count metric depends on the precision threshold setting (default value is 1000).

When you create a bar chart using an Apache Solr data source, you can search for a specific word or phrase using the search box at the top of the dashboard. The Details tab displays the results.

Fields of time groupings with low time granularity may cause loading time issues for the data source.