Only include "validation-test" search backend when actually validating.

Review Request #14834 — Created Feb. 19, 2026 and updated — Latest diff uploaded

Information

Review Board
master

Reviewers

While debugging something with search, I noticed that during indexing,
each model was getting indexed twice. It turns out this is because of
the "validation-test" key we had inside the search config, even
though its actual configuration was empty.

This change makes it so we only define that backend for the duration of
actually validating, rather than always having it in the config.

Ran an index and saw that it only indexed each model once.

Commits

Files