I have 3 elements of the archetype in my application, Weapon, Armour, Misc.
A user can search only one category at a time. So, I was wondering whether or not to index the archetype as an integer (0, 1, 2) or as a string "weapon", "armour", "misc"?
I am using a logical query. Will it be faster to filter by integer, string, or is there almost no difference?
Robin source
share