Skip to content

How syncs work

Search keeps serving the previous catalog until a sync finishes cleanly. If a sync fails, nothing changes, so visitors never see a half-updated or empty catalog. This holds for an upload, a feed, a database, a store, a crawl, an API replace and typemo index. A push over the API changes only the documents it names.

Typemo checks the values in every column that has a role: a price must be a number, a stock flag a boolean. Roles lists what each role accepts. One record that fails stops a scheduled sync, and one document that fails rejects a whole push request. Your catalog stays in one of two known states: the previous one or the new one.

The report tells you exactly what to fix. Each problem names the column, the value it expected, the line or record, and how many rows share it. Fix those rows in your source, or set that role to Not mapped on Search → Setup, and the next sync goes through.

Two methods differ:

  • An upload lets you choose. You’re there to decide, so Import N valid rows indexes the rest and skips the listed rows. It isn’t offered when a column with a role is missing: skipping rows can’t fix that, and you’d quietly lose a whole field. A scheduled sync runs unattended, so it has no such override.
  • A crawl skips a page it can’t read. A website always has a few broken pages, so the crawl lists them in the report and indexes the rest.

A record over 100 KB is never rejected for its size alone. Its longest text field is cut to fit, and the report carries a warning.

A document leaves the catalog only when a complete, successful read of the source no longer contains it. None of these delete anything:

  • a feed that comes back empty or broken;
  • a fetch that dies halfway;
  • a file with an unreadable row that hides the rows after it;
  • a crawl that gets blocked, or where most pages fail. A first crawl still publishes what it read, since there is nothing older to protect.

A source that really dropped items is followed, and those documents go. Replaced the wrong data with an upload or a sync you started yourself? Contact us: we may be able to restore the previous catalog.

A feed, a database, a store or a crawl on a schedule follows the same rules unattended, with two more:

  • An unchanged source is skipped. When nothing changed, search is left alone, and the sync log shows the run with 0 indexed. A change to the roles or the source’s settings makes the next run rebuild once, even from an unchanged source.
  • Five failures in a row pause the schedule. Automatic syncs stop and the project owner gets an email. Search keeps serving the last good version the whole time; only updates stop. A successful run turns the schedule back on. So does starting a sync yourself on a feed, store or database, or dismissing the failure notice on the Data page.

While a sync runs, single changes wait for it. A push or a delete through the API answers 409, and the WordPress plugin keeps the edit and sends it again on its next run.

Every run is logged: an import, a sync, a crawl, a push, successful or not. On the collection’s Data page, click Sync log next to Last sync.

The Data page with the Sync log opened from the Last sync cell
Data → Sync log, next to Last sync

Each entry shows the run’s type, such as Full sync or Incremental sync for a push, how many documents it indexed, failed and skipped, and when it started. Details opens the run’s report: every problem with its line, record or page. Nothing is dropped silently: if a record isn’t in your index, its run’s report says why.

What each problem means and how to fix it is in Formats and limits.

Next: Look up an error code, or follow An import failed.