Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can you restore spaces while the index is being rebuilt in Confluence?

Shirley He
Contributor
January 22, 2019

 

I'm in charge of merging two Confluence instances together. Currently I am importing individual spaces from the source Confluence instance into a staging version of the target Confluence instance. I've selected the option to rebuild the index automatically after each space import. Usually I wait for the indexing to finish before importing another project. I want to know if restoring a space while the index is being rebuilt would cause any problems?

1 answer

1 accepted

1 vote
Answer accepted
Tobias Anstett _K15t_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 22, 2019

Hi @Shirley He,

The option to rebuild the index is limited to the imported space - just the imported space content is indexed, not the whole site.

Also the indexing is executed using the threads reserved for indexing. So ideally the performance of the system is still fine (depends on your config).

To answer your initial question - no problems should be caused.

Best, Tobias

Shirley He
Contributor
January 23, 2019

Hi Tobias,

If what you said about the rebuild index option is true, then I'm quite confused why it takes the same amount of time to rebuild the index of the whole site as the time needed to rebuild the index of a single, small space. Could you point me to any such documentation that confirms that the rebuild index option for space restoration only does it for the imported space? I've searched around but could find nothing that specifically said that's what it does.

Regards,
Shirley

Tobias Anstett _K15t_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 24, 2019

Hi @Shirley He,

Shame on me - I just checked the source code and indeed it is calling reIndex without any additional context :( So it really looks like everything is indexed.

In this case I would accept the not-up-to-date index after importing a space if other spaces should be imported afterwards. As soon as everything was imported I would trigger the full re-index manually.

Best, Tobias

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events