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

Reindex scenes after rescrape #1572

Merged
merged 1 commit into from
Jan 15, 2024

Conversation

toshski
Copy link
Contributor

@toshski toshski commented Jan 8, 2024

If a scene is flagged as needs_update and the site re-scraped, the search index is not updated with changes to the scenes.

e.g. Baberotica has release titles initially with something like 'actor name 02' and then updated the title a few days later. If you flag these titles to re-scrape, the scene index still has the initial title.

The current process scans all scenes and if the index does not exist it adds it, but doesn't update. The change, builds a list of scenes return by the scrapers to the update channel, it will then remove an existing index data and add a new data.

Note: scraping using Options/Create/Import Scene/Scrape a scene to add/update a single scene, already works fine and is not affected by this change.

@crwxaj crwxaj merged commit 55111fe into xbapps:master Jan 15, 2024
1 check passed
@toshski toshski deleted the Reindex_Changed_Scenes_From_Recrape branch January 17, 2024 18:32
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