When tried today, I get the error: "The remote server returned an error: (413) Request Entity Too Large. Request entity too large.". Is there any size limit on the files that can be indexed. If so, kindly let me know what is the file size limit and what is the alternative to index these?
Yes for developer indices there is a request limit that you might run into problems with if you try and index large files for development indicies the limit is 5mb. In production this is set much higher and you shouldn't have problems with it there If you have problem with this in production please contact EPiServer ServiceDesk and they can adjust the settings for your index.
Is the limit decided based on the licences used in our solution? If it is a demo licence the limit is 5mb and if it purchased licence there isn't any limit constraint? For few solutions we have a 10 or 12 month licence, does it also have any indexing limit?
I get the same error for a 63MB PDF file. What is the limit in production?
Hi,
I'm trying to index a physical file in my computer as specified in http://find.episerver.com/Documentation/dotnet-api-attachments using the below code:
var document = new Document() { Name = fd.Name, Attachment = newFileAttachment(filePath) };
var result = client.Index(document, x => x.Id = fd.Id);
The document in the filePath is a pdf of size 6.5 MB. When I code executed the client.Index, I get an error - "Exception has been thrown by the target of an invocation. [Exception of type 'System.OutOfMemoryException' was thrown.]". Kindly let me know what is the reason for this and what can be done to avoid this error.