Allow the URL of the shard to be overwritten

Created on 21 September 2023, about 1 year ago

Problem/Motivation

If the shard URL contains a substitution variable, when Drupal tries to fetch it, it cannot resolve the URL.

Steps to reproduce

Set up a shard using a ${url.instance.url} style substitution variable (defined by the user manually) and clear caches. At this point the fields cannot be retrieved.

Proposed resolution

Add a boolean in the configuration form to allow overwriting the URL by the one defined in the entity "Server". This, on the other hand, assumes that the shard instance is on the same server. If the shard is hosted on another instance of solr, it will not work.

Remaining tasks

Add the boolean to the form and develop the code snippet that will overwrite the URL.

User interface changes

New checkbox element in the Index form.

API changes

N/A

Data model changes

N/A

Feature request
Status

Fixed

Version

2.0

Component

Code

Created by

🇪🇸Spain dcimorra 🇪🇸 Spain

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

Comments & Activities

Production build 0.71.5 2024