Well, of course the engine needs to have access to some corpus to search on. So the general answer to your question is: yes, however this step typically not called "training" but "indexing".
Most engines will repeatedly index your contents with crawlers or similar.
Most engines will repeatedly index your contents with crawlers or similar.