}
for (ObjectId sid: communityIdSet) {
source.getCommunityIds().add(sid);
}
source.setFederatedQueryCommunityIds(null); // (can be filled in by fillInSourcePipelineFields() below)
source.fillInSourcePipelineFields(); // (needs to be after the community ids)
// RSS search harvest types tend to be computationally expensive and therefore
// should be done less frequently (by default once/4-hours seems good):
if (sourceSearchesWeb(source)) {
// If the search cycle has not been specified, use a default: