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

Add ability to purge remote content and search index #992

Open
pullopen opened this issue Aug 2, 2022 · 2 comments
Open

Add ability to purge remote content and search index #992

pullopen opened this issue Aug 2, 2022 · 2 comments

Comments

@pullopen
Copy link

pullopen commented Aug 2, 2022

Is your feature request related to a problem? Please describe.
I notice that after a while, the search_index and database file grows bigger and bigger, filled with remote article that we usually do not need or understand, and taking too much disk space.

Describe the solution you'd like
I would like to have a plm order to purge remote content as well as the related search index.

Describe alternatives you've considered
Or would you please give me some instruction?

@trinity-1686a
Copy link
Contributor

for the search_index, you can (or a future sub-command can) simply delete the search index, and recreate it with plm. However it won't have much of an effect if remote content still exist in the database as it will just get reindexed

@pullopen
Copy link
Author

pullopen commented Aug 2, 2022

for the search_index, you can (or a future sub-command can) simply delete the search index, and recreate it with plm._ However _it won't have much of an effect if remote content still exist in the database as it will just get reindexed

Yes, so I'm asking if there's a way to safely delete remote content in database without affecting the local one. But thank you for simplifying the 2 questions into one :)

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

No branches or pull requests

2 participants