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.

  1. Adds an activate! method to the connection model to easily switch connections
  2. Adds a partition for references, and uses that for indexing. It is the actual partition name + number a ref will go to
  3. 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
  4. Updates the way we initialize refs to take named arguments instead of positional arguments
  5. 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

Merge request reports

Loading