Multiple filters

I made sure that
let Filter_1 = shareMode + ‘:’ + kojin + ’ AND ’ + addClientId + ‘:’ + clientId + ’ AND ’ + addUserId + ‘:’ + userId;
let Filter_2 = shareMode + ‘:’ + syanai + ’ AND ’ + addClientId + ‘:’ + clientId;
let Filter_3 = shareMode + ‘:’ + NSSCKyoyu + ’ AND ’ + addClientId + ‘:’ + clientId;
let Filter_4 = shareMode + ‘:’ + NULGto + ’ AND ’ + clientGroupId + ‘:’ + NULG;
let Filter_5 = shareMode + ‘:’ + NULGto + ’ AND ’ + clientGroupId + ‘:’ + FFLab;
let Filter_6 = shareMode + ‘:0’;
let Filter_7 = shareMode + ‘:’ + NULGandChuzai + ’ AND ’ + clientGroupId + ‘:’ + NULG;
let Filter_8 = shareMode + ‘:’ + NULGandChuzai + ’ AND ’ + clientGroupId + ‘:’ + FFLab;

Filter 1 through 8 works fine but what I want to do is like below.
let filter = Filter_1 + ’ OR ’ + Filter_2 + ’ OR ’ + Filter_2 + ’ OR ’ + Filter_4 + ’ OR ’ + Filter_5 + ’ OR ’ + Filter_6 + ’ OR ’ + Filter_7 + ’ OR ’ + Filter_8;

This does not work when I put it in here.

instantsearch.widgets.configure({
filters:filter,
}),

I think how I combined these filter was not correct but no clue right now.
Please advise.
Thank you.

Hi @ynaka, you can see the caveats to combining ANDs, ORs and NOTs here. We also have a tool to let you test your filters in that documentation.