Added optional instance method for populating the search index field