Skip to content
English
  • There are no suggestions because the search field is empty.

How to classify a large file

Original Question or Issue:

We noticed that Solr cannot index the content of files larger than 10 MB, so they can not be used in Smart classification.


Environment:

  • Product - FileCloud Server
  • Version - Any
  • Platform - Any

Steps to Reproduce:

Content search and Smart Classification features.


Error or Log Message:

Uploaded files larger than 10 MB are not classified.


Defect or Enhancement Number:

 


Cause:

By default, the indexing of a file's content is limited to 10 MB.


Resolution or Workaround:

You can increase the limit to 20 MB by adding the flag below:

define("SEARCHEXT_INDEXABLE_SIZE_LIMIT", 20971520);

To the cloudconfig.php file:

Windows: <Drive_Letter>:\xampp\htdocs\config\cloudconfig.php
Linux: /var/www/html/config/cloudconfig.php

Then restart the Message Queue service:

Windows: From the FileCloud Control Panel.
Linux: Using the command systemctl restart fcorchestrator


Notes:

You should exercise caution and monitor the Servers CPU and RAM usage, as well as whether the Message Queue continues to drain effectively.
The reason is that if there are too many large files to process at once, it can cause slowness.