WhitelistFilter#
- class WhitelistFilter(config)#
Bases:
FilterThe whitelist
Filterremoves aDocumentor marks aDocumentto be skip based on a whitelistInput - 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": "whitelist", "whitelists":{"body":["the","body","whitelists"]} }
Methods Summary
process_doc(doc)Process a document
Methods Documentation