CopyFilter#
- class CopyFilter(config)#
Bases:
FilterThe copy
Filtercopies input fields into output fields withcopy.deepcopyInput - No specific input fields type required as long as it is compatible with
copy.deepcopyOutput - The output field type is going to be the same as the input field type
- Parameters:
Example
{ "step": "filter", "type": "copy", "input_fields":["body"], "output_fields":["copied_body"] }
Methods Summary
process_doc(doc)Process a document
Methods Documentation