Use opensolr module with index authentication instead of account credentials

Created on 7 August 2024, 8 months ago
Updated 8 August 2024, 8 months ago

Versions

Drupal Core: -
Search API Solr: -
Search API Opensolr: 2.2.2
OpenSolr Core Type [Index or Cluster]: -
OpenSolr Core Version & Country: -

Problem/Motivation

We have multiple clients on our OpenSolr account and we use the index authentication credentials instead of the account e-mail address with the main API key, since we want to use different credentials for each client.

It seems that this is not possible with the this module, or am I missing something?

Steps to reproduce

/

Proposed resolution

Also allow authentication credentials.

User interface changes

/

API changes

/

Feature request
Status

Closed: works as designed

Version

2.2

Component

Opensolr API

Created by

🇧🇪Belgium tijsdeboeck Antwerp 🇧🇪 🇪🇺 🌎

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @tijsdeboeck
  • 🇷🇴Romania bbu23

    Hi @tijsdeboeck,

    I am not sure I understand the issue.
    Even if you have one opensolr account, each index will have its own basic auth. The current version of the module automatically grabs the basic auth information from opensolr and adds it to the server when a server is created/saved. There is no need for manual input of basic auth information when the API key is used.
    In opensolr you can have only one set of auth credentials per index.

  • Status changed to Closed: works as designed 8 months ago
  • 🇷🇴Romania bbu23

    The Search API opensolr module heavily relies on the API key, therefore it is impossible to have a setup without it.

    Still, if you wish to have such a setup, you can try using the Search API Solr module as an alternative, which is anyways a dependency to the opensolr module.

    Closing this as it works as intended.

Production build 0.71.5 2024