Sitecore by default stores index fields with their raw values, but sometimes we need to store calculated information in the searched index. Here, a custom computed index field can be very useful.
Consider a case where we have a large collection of books, where end users can find books based on predefined categories, which are stored in a Multilist
field that contains a list of item IDs. So, there is no use of indexing such a field with raw values. Here, you will learn how to create a custom computed index field. Here, for the Multilist
field, we will store the names of selected items instead of their item IDs, which will be useful in filtering books by their category.