Add command to truncate the indices

Created on 3 March 2023, over 1 year ago
Updated 10 March 2023, over 1 year ago

Problem/Motivation

To remove all the documents from an index in Drush, two commands need to be executed sequentially - drop and setup commands.

It would be helpful if truncate command was available which would only remove the documents, and left the index setup (incl. mapping) intact.

Proposed resolution

Create a drush command which allows truncating the index.

Remaining tasks

None.

User interface changes

None.

API changes

None.

Data model changes

None.

✨ Feature request
Status

Fixed

Version

8.0

Component

Code

Created by

πŸ‡±πŸ‡»Latvia maijs

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024