Prasanth,Ajit | Refactored getMessage in basicTextSearch