For the complete documentation index, see llms.txt. This page is also available as Markdown.

Term Recalculation

The /inspect/recalcterms tool — rebuild the suggestion term list for every current record without re-saving them.

The Term Recalculation page (/inspect/recalcterms/, also linked from /inspect/terms/) rebuilds the term list that powers the search bar's suggestions.

Terms are normally written when a record is saved, so a change to how terms are extracted — a reworked custom-data-type field mapping, a datamodel change — only reaches records saved afterwards. A term recalculation applies the change to every current record without re-saving them.

What it does

It rebuilds the term list for all current records in the background — below normal saves and below a re-index, so the instance stays usable while it works (it can take hours on a large instance). It also drops terms no longer carried by any record, and re-indexes the affected records afterwards. It never writes the records themselves, so it creates no new versions and no changelog entries.

On a fylr update, a release that changes term extraction can request the recalculation automatically.

Running it

Start it from the page; it shows the current status and the last runs. Only one recalculation runs at a time. (In the JSON view, apitests poll recalcterms/indexRecalcTerms for the status.)

See also

Last updated