Zoomdata Version

Connecting to Solr

PREREQUISITES

Note the following capabilities and limitations related to Zoomdata's support of Solr sources:

  • The Zoomdata Server supports Solr from v4.8.1, v5.2, and v5.3.
If you use Solr version earlier than 5.2, increase the value of the formdataUploadLimitInKB setting in the solrconfig.xml to allow the expected number of data points the users need when grouping on a time field.
  • The table below lists information on the features that are supported in different Solr versions:
Data Source Supports Distinct Count? MicroQuery Capable? SparkIt Capable? Supports Group-by Time? Supports Multi Group-by Charts?
Solr Yes (v4.8+) No No Yes (v4.8+) Yes (v5.2+)

CONNECTING ZOOMDATA TO SOLR

To configure Solr Connector, perform the following steps:

  1. Log into Zoomdata.
  2. Click the Sources menu item.


Figure 1

  1. Click the Solr connector icon.
  2. Specify the name of your source and add a description (if desired).

Figure 2

  1. Request handler - specify custom request handler if needed.
    Click Next .

  2. On the Connection page, define the connection source. You can use an existing connection, if available, or create a new one. To create a new connection, specify a connection name, select the hosting type (Standalone or Cloud) and enter a Solr Base URL. If needed, specify the user name and password.

Figure 3

If you use Solr version earlier than 5.2, increase the value of the formdataUploadLimitInKB setting in the solrconfig.xml to allow the expected number of data points the users need when grouping on a time field.
  1. Click Validate to ensure you entered a valid URL. Valid data will be saved. Click Next .
  2. On the Collections page, select the data collection to use for your charts.
    Enable or disable caching and lookup values for your data source.

Figure 4

  1. On the Fields page, create unique label names for the available fields in your data source. These labels will be displayed in the charts. Specify the required name in the Label field. If necessary, change the Type and Default options. If you want to perform a search by a word or phrase on your chart, select a checkbox in the Faceted filter for the corresponding field. Otherwise, leave it blank.
    Select the checkbox in the Parent field column to mark the field as parent . Click Next .

Figure 5

  1. On the Refresh page, you can schedule asynchronous jobs to refresh fields in your data source. Refer to Using the Zoomdata Scheduler article for more information.
  2. On the Charts page, you can enable the charts that will be available for the data source and edit the settings for your charts.
    That is, select the styles that will be available for the data source, change the global default settings, and more.
    Learn more about how to customize a chart .
    ​Click Finish to save your changes.

Figure 6

  1. After you have created the Bars chart, you can search for a specific word or phrase via the search box. The Facets tab displays a list of columns you created. Click the items on the list to see your charts on the dashboard instantly updated.

Figure 7

SUPPORT OF SOLR VERSIONS PRIOR TO 5.2

If you work with a time period and select high granularity on your time bar (for example, minutes), an error can occur while processing the request. To avoid this, increase the formdataUploadLimitInKB value in Solr config.