The Parallel Wrapper is a powerful feature in SearchAPI GAIA API that enables you to execute multiple stages simultaneously, in parallel. By utilizing this wrapper, you can improve the overall efficiency and speed of your search pipeline.
...
Note |
---|
Take into account, all stages specified inside this wrapper will receive the same intermediate and final, and there will be no communication between each other |
Property | Description | Default | Type | Required |
---|---|---|---|---|
type | Stage class name | - | string | Yes |
enable | Enable stage for execution | true | boolean | No |
name | Name for this specific stage | "parallel" | string | No |
save_to_intermediate | If true, the result of the stage will be stored in the intermediate instead of the final section | false | boolean | No |
ui_only | Section specific for UI configuration that affects the process of the stage | object | No | |
halt_on_exception | Indicates if the pipeline should be interrupted in case of an exception | false | boolean | No |
stages | List of stages to parallelize | - | array | Yes |
timeout | Argument in seconds to impose a limit on how long you're willing to wait for each task to complete | - | integer | No |
...