Arrays Intersect Processor - logzio/sawmill GitHub Wiki
Arrays Intersect [arraysIntersect]
Using this processor you can add a field to the document, that will hold the intersection result of two other source fields holding arrays.
- sourceFieldA - the path to an existing field holding the first array (required)
- sourceFieldB - the path to an existing field holding the second array (required)
- targetField - the path to the field to add (required)
Examples
{
"steps": [
{
"arraysIntersect": {
"config": {
"sourceFieldA": "field_a",
"sourceFieldB": "field_b",
"targetField": "intersected_field"
}
}
}
]
}