cancel
Showing results for 
Search instead for 
Did you mean: 

Indexing only works if I upload the file using Share GUI

Jhousyfran
Champ on-the-rise
Champ on-the-rise

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.

When I increase the Solr debug logging level (like this: https://docs.alfresco.com/5.2/tasks/set-solr-log4j.html), the logs of the files that were sent through the interface and indexed are the same as the logs of the files that were sent via WebDav and not indexed.
 
File indexed by the interface:
2020-02-21 21:36:40.251 DEBUG (org.alfresco.solr.AlfrescoCoreAdminHandler@548d708a_Worker-22) [   ] o.a.s.t.MetadataTracker Node [id=879, nodeRef=workspace://SpacesStore/a6ffb77b-7690-4f3f-8a73-074dc406bc46, txnId=27, status=UPDATED, tenant=, aclId=11, shardPropertyValue=null]
 
File sent via WebDav:
2020-02-21 21:39:10.113 DEBUG (org.alfresco.solr.AlfrescoCoreAdminHandler@548d708a_Worker-36) [   ] o.a.s.t.MetadataTracker Node [id=885, nodeRef=workspace://SpacesStore/f2510e59-43ca-41e2-899f-a574bea41222, txnId=33, status=UPDATED, tenant=, aclId=11, shardPropertyValue=null]
 
I couldn't find a solution to this issue.
This is easy to replicate with the docker community deployment in version 6.2.0-ga.
The log files also do not report any errors.
30 REPLIES 30

ymartin
Champ in-the-making
Champ in-the-making

When using API, locale can be set explicitly as parameters.

Many details about cross-locale at https://de.slideshare.net/AFaust/important-workarounds-for-making-ass-multilingual and for API refers to slides 16 and 17