Skip to content

Conversation

@JVickery-TBS
Copy link

Related issues:

Basic issue is that the Org/Group names are in dataset SOLR records. This would be an issue if an Org/Group title or name is updated, their dataset's won't show this in package_search or anything else that queries the SOLR index. So this adds some logic functions to re-index an Org/Group's records after the title or name changes.

It does this in a background task. So this would require some documentation regarding that.

This also implements some task_status stuff for this and adds in some UIs to sysadmins to be able to re-index from the Admin views. And adds a progress bar to see the status of the re-index.

- Re-index orgs after update.
- Re-index UI views and actions.
- Added progres bar for search rebuild;
- Finalized site index rebuild.
- Added change log file.
- Feedback round 1.
@JVickery-TBS
Copy link
Author

@wardi are you able to re-review this one?

- Set enumerate starter.
- Task type `search_rebuild` -> `reindex_packages`.
- Updated reindex action method names to CKAN standards.
- Python coding standards.
Copy link
Member

@wardi wardi left a comment

Choose a reason for hiding this comment

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

looks great. This will be an amazing feature to get upstream

- Added method doc comments for job callback.
- Show errors even if not verbose.
- TODO comment.
- Do query for group re-indexing.
- Handle null values in progress bar JS.
@JVickery-TBS JVickery-TBS merged commit 1c079c9 into canada-py3 Dec 3, 2024
1 check passed
@JVickery-TBS JVickery-TBS deleted the feature/dynamic-search-reindex branch December 3, 2024 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants