Hello,
Thank you for your interest in this subject.
Content indexing does not work on our part when using bulk import to add a document to the repository.
Can you initiate a bulk import test ? http://localhost:8080/alfresco/service/bulkfsimport
Is this the addon you are using?
https://github.com/pmonks/alfresco-bulk-import
I think so, I was not aware that it was an addon.
I use bulk import from this documentation :https://docs.alfresco.com/content-services/latest/admin/import-transfer
So I guess you're using this one...
https://github.com/Alfresco/alfresco-file-transfer-receiver
Ok, let me check it.
In the documentation (https://docs.alfresco.com/content-services/latest/admin/import-transfer/) I use this paragraph : "Import with the Bulk Import tool", but I do not use the "Configure File System Transfer Receiver" paragraph.
Like you said, bulk import tool relates to https://github.com/pmonks/alfresco-bulk-import
From the source code, I guess that you need to add following property to alfresco-global.properties or as environment variable in Docker.
contentPropertyRestrictions.enabled=false
Since I didn't try that, let me know if that fix the issue.
In fact, I've found this notes from the author of the addon:
https://github.com/pmonks/alfresco-bulk-import/wiki/Configuration
So that should be related with that "contentPropertyRestrictions" configuration (for sure).
I made a test : files are imported, metadata are indexed, but unfortunately not the contents.
I have put the parameter (contentPropertyRestrictions.enabled=false) in the following file : /usr/local/tomcat/shared/classes/alfresco-global.properties
Indexation of contents while doing a bulk import now works using Alfresco bulk import 2.1.0 (https://github.com/pmonks/alfresco-bulk-import/releases).
Here is an hypothesis that may explain this behavior:
the Alfresco instance has not cross-locale support enabled https://docs.alfresco.com/insight-engine/latest/config/indexing/#cross-locale so a document inserted by webdav (or API, or bulkimport) is indexed with "system locale" whereas a document inserted by browser depends on browser/workstation locale.
When running everything on Ubuntu, your locale is "consistent" (the same value) for both system and browser.
Ideas how to fix:
Hope this helps
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.