Currently, I am working on a new plugin which has page generation feature. Instead of I am reindexing each page just after the creating them with ConfluenceIndexer, my pages are not appearing on my Confluence page.
Page page = new Page();
page.setTitle(title);
page.setSpace(space);
page.setParentPage(parentPage);
page.setBodyContent(BodyContent);
page.setVersion(1);
page.setCreator(user);
pageManager.saveContentEntity(page, new DefaultSaveContext(false, false, false));
confluenceIndexer.reIndex(page);
Is there anything that I miss? Should I refresh the cache? These are the questions that I could not figure them out.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.