Skip to content
This repository was archived by the owner on Dec 12, 2021. It is now read-only.
This repository was archived by the owner on Dec 12, 2021. It is now read-only.

Global re-index #3

Description

@ryanb

There should be a convenient way to trigger a global re-index for times when the xapit index definition changes. We already have the rake xapit:index task, but that cannot be called alongside the syncing process because of the lock on the writable database.

Perhaps a special XapitChange record could be created which tells the separate process to re-index everything. It would be nice if this re-indexing worked on a separate database file and then swapped it out when it was done.

Now what about XapitChange records which get created during the global re-indexing? These may or may not need to take effect depending on the current progress.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions