Adding security to your requests (submodule)

Introduction

The Search API opensolr security is a submodule that integrates the opensolr security API into Drupal. The goal is to allow users to add/remove Basic Auth to their indexes and/or to manage IP restrictions for them without having to go to their opensolr account.

Opensolr core's security can always be managed directly in your opensolr account, but beware if you change your Basic Authentication to return to Drupal and resave the affected Server(s) to update the Basic Auth there as well. Alternatively, when using the search_api_opensolr_security, the module should automatically update both.

Managing config files

Overview

There are various ways of uploading your server's configuration files to opensolr:

  1. Automatic during Server creation
  2. Manually from the existing Server's Opensolr tab
  3. Manually from Drupal to opensolr

Automatic upload

During the server creation, Drupal will attempt to automatically upload the config.zip files to opensolr. If successful, a message will be displayed.

opensolr server add success message

Creating your opensolr server

Requirements

Make sure that you set your opensolr API credentials as explained here: Setting up opensolr credentials (important). Also, if you've set them already, please make sure that you've updated your API key in case you've changed it on opensolr.com side.

Setting up opensolr credentials (important)

Introduction

This is the most important setting of this module because without this configured correctly, none of the opensolr related functionality provided by this module will be available, so make sure that you have this set up correctly from the beginning.

Project installation

Installation using composer (recommended)

Assuming that your site is managed via Composer, use composer to download the module. The following command will fetch the latest version and place it in the contrib modules folder:

composer require drupal/search_api_opensolr

If you want to download a specific version or a different rule for version, check the guide on how to manage projects versions with composer.

Search API opensolr

How to use the Search API opensolr module and submodules

The Search API opensolr module extends the Search API solr contrib module and provides integration with the opensolr services.

Subscribe with RSS Subscribe to RSS - opensolr