You can enable the Out of stock items feature in your Algolia Shopify Configuration > Search options tab > under Additional settings > Out of stock items:
Once the out of stock items setting has been made, the “inventory_quantity > 0” filter should be applied globally.