Or condition in filtermanager of Kibana plugin

Is there a way i can give "OR" condition in filtermanager while developing plugins.
As of now i am able to give the below statement which is applying AND condition for all the values and so i am getting no results found in the dashboard.
filterManager.add('directions',['east','west','north','south'], null,'my_directions_index');
Please let me know if i need to change the statement so that i can apply OR condition using filtermanager. Thanks

Looking at how filterManager is implemented, it does not support bool queries, which is what's needed for the OR logic.

To achieve what you're looking for, you will need to compose a bool filter.