adding a status:open|closed to the metadata