search component formula field

I have a formula field “Search_Name__c” that I am trying to use with Search Component. I can return the values of the “Search_Name__c”. But the “Search_Name___c” field is not being searched.

Formula Fields are not searchable by SOSL, so they are not searchable using the Search component. One way to get around this is to have a Workflow Rule that copies the values of your Formula Field into a regular Text field any time that the fields which are involved in your Formula Field get updated. Text fields are searchable, so you can then use the text field here instead of the Formula Field, and it should work.

https://salesforce.stackexchange.com/questions/14387/search-formula-fields-using-sosl

Worked. Thank you