Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#13 Add command to remove manuals from index by given constraints #54

Conversation

soee
Copy link
Collaborator

@soee soee commented Dec 18, 2023

This commit adds a new command docsearch:index:delete, which allows for the deletion of all or selected manuals from the Elasticsearch index.

It accepts the following options:

  • --manual-slug: The slug of the manual to be removed from the index
  • --manual-version: The version of the manual to be removed from the index
  • --manual-type: The type of the manual to be removed from the index
  • --manual-language: The language of the manual to be removed from the index

To execute the command, type:

bin/console docsearch:index:delete

To remove, for example, a specific manual version, type:

bin/console docsearch:index:delete --manual-version=12.4

Multiple options can be combined for more targeted deletions.

Resolves issue: #13

@soee soee force-pushed the addCommandToDeleteSelectedManualsFromIndex branch from b6981af to b3bb1b4 Compare December 18, 2023 07:50
…ven constraints

This commit adds a new command `docsearch:index:delete`, which
allows for the deletion of all or selected manuals from the
Elasticsearch index.

It accepts the following options:

- --manual-slug: The slug of the manual to be removed from the index
- --manual-version: The version of the manual to be removed from the index
- --manual-type: The type of the manual to be removed from the index
- --manual-language: The language of the manual to be removed from the index

To execute the command, type:

`bin/console docsearch:index:delete`

To remove, for example, a specific manual version, type:

`bin/console docsearch:index:delete --manual-version=12.4`

Multiple options can be combined for more targeted deletions.

Resolves issue: TYPO3-Documentation#13
@soee soee force-pushed the addCommandToDeleteSelectedManualsFromIndex branch from b3bb1b4 to 19c0bf2 Compare December 18, 2023 07:51
Copy link
Member

@linawolf linawolf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good as far as I can tell

@linawolf linawolf merged commit 4dde12e into TYPO3-Documentation:main Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants