Forums

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

How can I programmatically start a reindex for Content properties?

Christoph Kober June 26, 2018

Due to CONFSERVER-52489, after restoring Confluence from a backup, Content properties are no longer indexed in Lucene. This completely breaks our plugin's search behavior.

Since it doesn't look like the Issue is going to be resolved any time soon - Is there a way to programmatically run a reindex for Content properties in Confluence? (Or in other words, re-apply all Extractors, since that's the way Content property indexing is implemented).

2 answers

0 votes
Andrei November 20, 2018

Inject ConfluenceIndexer and use the index/reIndex methods to add the Searchables that you want to reindex.

0 votes
R. Fuerst
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 3, 2018

Hi Christoph,

Unfortunately I cannot provide a timeline for when this issue will be resolved by our development team. I noticed you commented on the ticket - this is good as it will help provide more visibility to our product team on how this is impacting you and other users. 

You posed a great question which might be better posed in our Developers' Community which is more geared toward development questions. Please try posting this same question at the link below to see if any other developers have some insight for you: 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events