This may be extended, overriding the collect method to, e.g., conditionally invoke super() in order to filter which documents are collected.
super()