BlacklistFilter#
- class BlacklistFilter(config)#
Bases:
FilterThe blacklist
Filterremoves aDocumentor marks aDocumentto be skip based on a blacklistInput - all input fields need to be of type
strorlist[str].Output - No output specific output format due to removal or marking to skip of the whole
Document- Parameters:
Example
{ "step": "filter", "type": "blacklist", "blacklists":{"body":["the","body","blacklist"]} }
Methods Summary
process_doc(doc)Process a document
Methods Documentation