The hard part of site search is not the search. It is the second run: five thousand pages, of which twenty changed, and an index job that must not spend an hour and a bill re-embedding the other four thousand nine hundred and eighty. Content hashing per chunk turns that into a job that finishes in seconds.
Four jobs, not one script
Separate them, because they fail differently and run on different schedules.
Job
Description







