+ Start a Discussion

While deployment System.UnexpectedException: Search unavailable



I have written test method for some class like it has SOSL search method. It was working in Sanbox and its covered more than 80 percentage.

When i gonna to move production i got issue like "System.UnexpectedException: Search unavailable". can anybody help me.

Did you add the Test. setFixedSearchResults() in your test class to do cover the SOSL?
I am getting the same error. Has you been able to solve it?