Reindex specific folder content

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

Reindex specific folder content

Hi:

I would like to perform a partial reindexation including all the content of a specific folder. Files in the folder belong to a custom model type.

I tried using SOLR API this way: http://localhost:8983/solr/admin/cores?action=reindex&query=cm:name:Folder_To_Reindex

I received response with status 0 but files weren't reindexed

Also I don't have a clear understanding of the asynchronous scheduling. What is the default scheduling for this kind of actions?

Thanks in advance for your help.

 

Gabriel Marin

2 Replies
abhinavmishra14
Advanced

Re: Reindex specific folder content

May be try this way:

http://localhost:8983/solr/admin/cores?action=REINDEX&query=TYPE:"cm:folder" AND @cm\:name:"Folder_To_Reindex"

OR

http://localhost:8983/solr/admin/cores?action=REINDEX&query=@cm\:name:"Folder_To_Reindex"

 

~Abhinav
(ACSCE, AWS SAA, Azure Admin)
gabrielmarinb
Active Member

Re: Reindex specific folder content

Thanks @abhinavmishra14 and when is executed?, because the response says scheduled.

My problem is that content was not indexed (metadata only) during a day in which SOLR was not correctly running. That's why I am trying reindex but may be better to use FIX

@angelborroy I saw your presentation about FIX tool (https://www.slideshare.net/angelborroy/discovering-the-2-in-alfresco-search-services-20) but I have the same doubt, when is it scheduled?

I really aprecciate your help. Thanks again