Creating a computed index field for categorization