Just install the package, and it can't work at all!!
After the debug, I found it is beacuse of the SOSL problem.
I dont know the reason, however, the SOSL returns nothing at all. You can see it in the attached screenshot.

I double check the global search functionality as well. And, it confirms the problem of SOSL. The SOSL at the moment is not function.
After modify the class a little, and change to use SOQL. The problem is gone, and all the feature of typeahead works as it should be.
Since the fact, I suggest to add the option for users to use SOQL.
Thanks.
Just install the package, and it can't work at all!!
After the debug, I found it is beacuse of the SOSL problem.
I dont know the reason, however, the SOSL returns nothing at all. You can see it in the attached screenshot.

I double check the global search functionality as well. And, it confirms the problem of SOSL. The SOSL at the moment is not function.
After modify the class a little, and change to use SOQL. The problem is gone, and all the feature of typeahead works as it should be.
Since the fact, I suggest to add the option for users to use SOQL.
Thanks.