function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
RajiiiRajiii 

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.

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