ACS solr re-indexing all documents with particular type

cancel
Showing results for 
Search instead for 
Did you mean: 
VS
Active Member II

ACS solr re-indexing all documents with particular type

Jump to solution

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 Solution

Accepted Solutions
angelborroy
Alfresco Employee

Re: ACS solr re-indexing all documents with particular type

Jump to solution

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 solution in original post

2 Replies
angelborroy
Alfresco Employee

Re: ACS solr re-indexing all documents with particular type

Jump to solution

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
Customer

Re: ACS solr re-indexing all documents with particular type

Jump to solution

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