Skip to content

Arrays Intersect Processor

DanMelman edited this page Mar 2, 2022 · 1 revision

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"
                }
            }
        }
    ]
}
Clone this wiki locally