api/v2/search/tickets?query="(status:2 OR status:3 OR status:4)"
In my test this returns 2 tickets. If I close one ticket and re-run the search it still returns both tickets, even though the status of one is 5 (closed). See below (I've removed the email fields from the results). See the value or status.
If I run the search again after a few minutes then only one records is returned so it looks like it is a caching issue.