Build document search that answers with sources.
Recent revisions are kept. Restoring one creates a new revision.