Solr Configuration



Search Results

Applications utilizing Solr can take advantage of Probo.CI’s Solr implementation. All you need is the Solr core for your application and the major version of Solr to be used.

You can use any version of Solr from 5 through 9. Note that only the latest version of these versions are available, so you only need to provide the major version number. For example, solr:8 will use Solr version 8.11.4. You must specify a version of Solr to be used. Here is an example of a solr definition:

1
2
3
4
5
6
7
8
9
10
11
solr:
  # The version of Solr to use
  version: 9
  # The name of the Solr core to be configured
  name: my-core
  # The archive file (asset) for your solr core
  core_archive: solr9.tar.gz
  # The folder that the core will be extracted to
  core_folder: solr9
  # The type of compression used (zip and gzip are supported)
  compression: gzip

Working With Your Solr Core

Each Solr install needs a core. These typically vary from application to application and many times are specific to the version of Solr being implemented. Probo.CI will allow you to use your application or any custom Solr core with our Solr implementation - just make sure the version of your core is usable with the version of Solr you are selecting.

Settting Up A Solr Core From Config Sets

To configure your Solr core, you will need to create a zip/gzip file with your core config set files. Note that these must be in a folder. A configuration set could be laid out something as follows

1
2
3
4
5
6
7
8
9
10
11
12
- solr9
  - config
    - elevate.xml
    - schema_extra_fields.xml
    - schema_extra_types.xml
    - schema.xml
    - solrconfig_extras.xml
    - solrconfig_index.xml
    - solrconfig_query.xml
    - solrconfig_requiestdispatcher.xml
    - solrconfig.xml
    - solrcore.properties

Commpress this using tar.zip or zip and upload it as an asset to Probo.CI. You can then use it in your .probo.yaml file as follows:

1
2
3
4
5
6
solr:
  version: 9
  name: my-core
  core_archive: solr9.tar.gz
  core_folder: solr9
  compression: gzip

The name is the name of your core as to how it will appear in Solr. The core_archive is the name of the asset you uploaded to Probo.CI. The core_folder is the name of the folder that the core will be extracted to. The compression is the type of compression used (zip and gzip are supported).

A Drupal Example & Search API Core Downloads

Drupal utilizes Search API Solr to implement Solr. Download and decompress the module and go in the jump-start folder. Locate your version of Solr and use the config-set folder inside. Compress this using tar.zip or zip and upload it as an asset to Probo.CI. You can then use it in your .probo.yaml file as follows:

1
2
3
4
5
6
7
8
9
assets:
  - solr9.tar.gz

solr:
  version: 9
  name: drupal
  core_archive: solr9.tar.gz
  core_folder: solr9
  compression: gzip

You can download the Search API Solr cores for Drupal for use in your Probo files below. Just pick the version of Solr that you are using.

Solr 7
Solr 8
Solr 9

You can then configure Drupal in the Search API settings to use The drupal core at the localhost server. Furthermore if you wish to view the Solr dashboard for your build, you can do so by pointing your browser to (be sure to include the trailing slash):

https://{BUILD_ID}.probo.build/solr/

Get Started with Probo.CI

Want to Try Probo today?
Get Started Fast!.

When you sign up for a Probo.CI registration code, you will get a two week trial of the plan of your choosing. For more information on how to get started, click here .

LEARN MORE ABOUT PROBO.CI'S PRICING