Welcome to the navigation

Duis in sint et aute lorem velit in elit, eiusmod enim dolor laboris veniam, excepteur anim ea labore ex ut occaecat nostrud culpa magna fugiat. Duis lorem et laboris ullamco incididunt sed aliquip dolore ex labore proident, amet, enim deserunt magna ea culpa do non qui consequat, commodo cillum adipisicing

Yeah, this will be replaced... But please enjoy the search!

Episerver find: Your account is not authorized to index more than 10000 documents

The Episerver Find service offers free developer indexes with some limitations, i.e. 25 queries per second and 10000 items. I recently found out what happends if you break the 10k limit and it wasn't sweet. A bricked YSOD:ed development environment.

When setting up Episerver Find developer indexes at http://find.episerver.com you get options similar to this 

Noteworthy with this is that each language version is regarded as a unique item in Find, if you have 5000 pages in two different languages they will count as 10000 items.

Hitting the threshold

When hitting that threshold this happends

The actual exception

[WebException: The remote server returned an error: (403) Forbidden.]
   System.Net.HttpWebRequest.GetResponse() +1749
   EPiServer.Find.Connection.JsonRequest.GetResponseStream() +280
   EPiServer.Find.Api.Command.GetResponse(IJsonRequest request) +109

[ServiceException: The remote server returned an error: (403) Forbidden.
Your account is not authorized to index more than 10000 documents]
   EPiServer.Find.Api.Command.GetResponse(IJsonRequest request) +679
   EPiServer.Find.Api.PutMappingCommand.Execute() +258
   EPiServer.Find.ClientConventions.NestedConventions.AddNestedType(Type declaringType, String name) +509
   System.Collections.Generic.List`1.ForEach(Action`1 action) +14157259
   EPiServer.Find.Commerce.CatalogContentClientConventions.ApplyNestedConventions(NestedConventions nestedConventions) +298
   EPiServer.Find.Commerce.CatalogContentClientConventions.ApplyConventions(IClientConventions clientConventions) +81
   EPiServer.Framework.Initialization.Internal.ModuleNode.Execute(Action a, String key) +56
   EPiServer.Framework.Initialization.Internal.ModuleNode.ConfigureContainer(ServiceConfigurationContext context) +150
   EPiServer.Framework.Initialization.InitializationEngine.ConfigureContainer(HostType hostType) +386
   EPiServer.Framework.Initialization.InitializationEngine.ExecuteTransition(Boolean continueTransitions) +115
   EPiServer.Framework.Initialization.InitializationModule.EngineExecute(HostType hostType, Action`1 engineAction) +293
   EPiServer.Framework.Initialization.InitializationModule.FrameworkInitialization(HostType hostType) +230
   EPiServer.Global..ctor() +104
   Externweb.Web.Global..ctor() in D:\workspace_exerhe\Public Web\Dev-Webshop\Externweb.Web\global.asax.cs:327
   ASP.global_asax..ctor() in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\2260aca7\1d63a2aa\App_global.asax.0.cs:0

 

The real issue with hitting the threshold

The problem at this point is that you cannot even access the Episerver Find administration to clear the index. What you must do is reseting the index at the find portal, http://find.episerver.com/MyServices

Thats it.

Please note that this portal is a BETA site , I will continuously improve all functionality and performance during the coming weeks / the author