I have elastic index with fields styleId, sellingStyleId, styleName, inventoryEnabled, inventoryCount
need help with query to pull all the records but if inventoryEnabled is true then check if inventoryCount is greater than 10 else if inventoryEnabled is not true or null then pick that record and do not check for inventoryCount