Index when using OR in query

Hello,
Try to rewrite the ORs conditions with operator IN.
WHERE events.instance="a and events.eventType in (“b”,“c”) and events.resourceType=“event” ORDER BY lastModifiedTime DESC limit 10 offset 0.

Regards
Arturo

1 Like