How can i find the list of UN-indexed file.I just want to perform a task i want to get all those file that is UN-indexed and want to fix and make indexed. I m using alfresco 5.0.
How to find the reason why the file failed to get indexed?
How can i find the list of UN-indexed file.I just want to perform a task i want to get all those file that is UN-indexed and want to fix and make indexed. I m using alfresco 5.0.
How to find the reason why the file failed to get indexed?
This should work just fine, it will give you a list of nodedb IDs, which you can then use to run the REINDEX action separately for each one of them.
https://localhost:8443/solr4/alfresco/afts?q=DOC_TYPE:UnindexedNode
Try this query on Node Browser by using fts-alfresco as search type -
+TYPE:"content" AND (+cm\:isIndexed:'False' +@cm\:isContentIndexed:'False')
The cm:indexControl aspect enables you to control indexes for the control items. The aspect exposes the following two properties to allow configuration of indexing of nodes to which it is applied.
Please refer this Alfresco wiki for more details.
Your question is already answered more or less here
The reason for failed content indexing couldn't be found in solr since the repo is responsible for transforming the content to text. So you need to find the reason for failed transformations in the repo's / transformation engine's log.
A node having the cm:indexControl
aspect attached (e.g. cm:isContentIndexed
does not necessarily mean the transformation failed. Alfresco sets this property to avoid indexing/transformation)
To summarize: There is no easy way to report the reason why content transformation and therefore indexing failed. You should check the logs on the repo / t-engine side.
To repair unindexed or failed transactions you should run the action=FIX report described in the docs:Troubleshooting Solr Index