Let’s say I have the Products table.
On my UI, I allow the user to search by name, description, code
The user can only search on criteria.
Should I create an index for each criteria : name, description, code
or create ONE single index for all 3?
What will make you choose one versus the other?
You need an index for each. One index for all three will only benefit searches involving the first criterion in the index, or that in combination with the second, etc.