Move command to delete all data for a solr server out of search_api_solr_devel

Created on 10 April 2024, 3 months ago
Updated 26 June 2024, 2 days ago

Respect the submission guidelines above! Drupal.org issue forks cause additional work for the project maintainer!

Setup

  • Solr version:
  • Drupal Core version:
  • Search API version:
  • Search API Solr version:
  • Configured Solr Connector:

Issue

https://github.com/pantheon-systems/search_api_pantheon/pull/178 does this already. The rational being:

I have a CI/CD build that fresh installs the site and adds default content. Each install causes the Solr index to index more and more data and the old data from past installs never gets flushed.

Describe the solution you'd like

Search API Solr Devel module has a command to solve this. But that module requires the install of devel module. Which we don't do on Pantheon. The ideal solution is to clone that stand-alone drush command into Pantheon, since it is primarily an issue on Pantheon. Then we can easily fix this problem during the CI build

✨ Feature request
Status

Fixed

Version

4.0

Component

Code

Created by

heddn Nicaragua

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

Comments & Activities

Production build 0.69.0 2024