Apply a filter to an activity stream, dropping any document that does not match the criteria
JavaDocs