We have a search in our website implemented using EPiServer Find. It has a sorting option such as 'Sort by number of views' which is based on a int property.
Strange thing is this sorting works for most of the times and occationally it fails with following Java ClassCastException error.
EPiServer.Find.ServiceException: 'The remote server returned an error: (503) Server Unavailable.
ReduceSearchPhaseException[Failed to execute phase [query], [reduce] ]; nested: ClassCastException[java.lang.Double cannot be cast to java.lang.Long]; '
Anyyone has a clue why this server error occurs randomly?