Can I use opensearch with Thehive4 or Thehive5 and Cassandra 3.11 or 4

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
Opensearch
Thehive5 or Thehive4
Cassandra 4 or 3.11

Describe the issue:

Hello I want to use opensearch instead elasticsearch. So I don’t know if I can use opensearch with Thehive4 or Thehive5 and Cassandra

Configuration:
Thehive5 and Thehive4 needs one Index engine it can be two choices elasticsearch or lucene but i need to know if someone has opensearch installed with Thehive4 or Thehive5