Your Question
I saw in the docs that we can set the type of indexes. As we want to use an index on a low cardinality field (enum field) we thought about using a bitmap index. Is this possible with GORM? Or should we use a different index?
The document you expected this should be explained
Where can I see the supported types of indexes?
Expected answer
Index type for low cardinality fields.
Comment From: keyvangholami
If you need to create a bitmap index or other specific types of indexes not directly supported by GORM, you might need to execute raw SQL through GORM's Exec function or directly in your database.
example:
db.Exec("CREATE BITMAP INDEX index_name ON table_name (column_name)")