cancel
Showing results for 
Search instead for 
Did you mean: 

ACS solr re-indexing all documents with particular type

VS
Confirmed Champ
Confirmed Champ

I was trying to re-index all documents in a particular site. Is there a way i can just re-index all documents in a site or may be a particular custom type?

I was checking here: https://docs.alfresco.com/search-services/latest/admin/monitor/#troubleshooting but it only shows to re-index with a node or txn id.

1 ACCEPTED ANSWER

angelborroy
Community Manager Community Manager
Community Manager

Did you try REINDEXING action by query? The following sample reindexes all nodes of type 'cm:content'

Something like http://localhost:8983/solr/admin/cores?action=reindex&query=TYPE:%27cm:content%27

Additional information available in https://docs.alfresco.com/search-services/latest/admin/restapi/#reindex

Hyland Developer Evangelist

View answer in original post

2 REPLIES 2

angelborroy
Community Manager Community Manager
Community Manager

Did you try REINDEXING action by query? The following sample reindexes all nodes of type 'cm:content'

Something like http://localhost:8983/solr/admin/cores?action=reindex&query=TYPE:%27cm:content%27

Additional information available in https://docs.alfresco.com/search-services/latest/admin/restapi/#reindex

Hyland Developer Evangelist

cesarista
World-Class Innovator
World-Class Innovator

Hi @angelborroy 

I think, I've tried this several times but with no success. In that cases, I remember that it was not easy or possible to monitor this indexation task, because of the size of repo (imagine that it is needed several hours for reindexing). Do you know some clues for doing this ? 

Thanks in advance.

--C