03-03-2020 01:53 PM
When uploading a file, I expect the content to be indexed so that I am able to search it. This works when I upload the file to the Alfresco Share interface.
However, when I use the CMIS import tool, webdav, or the bulk filing system, the metadata is indexed, but the content isn't.
All the metadata looks the same. And even when I delete data from Solr to force a reindexing, the only content that is indexed is the content of the files I uploaded with Share GUI.
02-17-2022 04:51 AM
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
02-17-2022 07:40 AM
Is this the addon you are using?
https://github.com/pmonks/alfresco-bulk-import
02-17-2022 07:50 AM
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
02-17-2022 09:04 AM
So I guess you're using this one...
https://github.com/Alfresco/alfresco-file-transfer-receiver
Ok, let me check it.
02-17-2022 09:19 AM
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
02-17-2022 09:34 AM
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.
02-17-2022 09:35 AM
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).
02-17-2022 12:02 PM
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
06-13-2022 05:47 AM
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).
01-03-2023 04:37 AM
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
Explore our Alfresco products with the links below. Use labels to filter content by product module.