ActiveContext indexer improvements
What does this MR do and why?
Adds a couple of improvements to the ActiveContext indexing process and updates the docs with the up-to-date state for indexing and searching.
- Adds an
activate!method to the connection model to easily switch connections - Adds a
partitionfor references, and uses that for indexing. It is the actual partition name + number a ref will go to - Adds a
execute_all_queues!method to execute refs from all queues sync as a helper if you don't want to wait for the cron workers - Updates the way we initialize refs to take named arguments instead of positional arguments
- Updates the docs
References
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Madelein van Niekerk