There's an obvious question - why do you want to do this?
Confluence does not need to be re-indexed regularly, pages are indexed automatically. Needing to re-index is indicative of a significant change or a problem with the data. So what have you done to it that makes it seem like it needs doing every morning?
It's the same as Jira - run an external script that triggers it.
Complete waste of time though. Indexing in Jira is only needed if something goes wrong or for some config changes. Same goes for Confluence - it's pointless re-indexing a working system. In fact, it's worse, because searches stop working during a re-index.
It is not pointless to re-index in confluence(search indexing also called content indexing) at least once a month, sometimes i have problem with searching for users in confluence even though user in available in directory when i want to add permission to user in a page, but when i do content indexing user appears
I have search for rest api to trigger indexing automatically i cannot find, do you know where to find the rest API ?
If you think you need to re-index regularly, then that tells me you have a problem with the indexing that you need to fix, not just hide by regularly rebuilding.
You need to look into why your users can't be found, as you have a broken setup somewhere.
The Confluence database is built as a datastore for your pages. It is not designed for search.
Imagine the basics - a page. That's some metadata in a table, plus a big block of content. Searching for a word in that sort of table is quite slow and intensive.
So, there is a fast, local index built in the application. The data is organised differently - for pages for example, there's a pile of word-stems pointing to pages.
Every create or edit to a page updates the index. In a healthy system, that means the index will be up to date and correct at all times.
(It indexes other things too, but you get the gist from just the page stuff above)
"I need to re-index regularly" is a symptom of something breaking the index. You've said you have problems looking for users. That implies something is wrong in the user directory setup.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Hi Community, Jessica here from the Confluence Product Marketing team! July’s community challenge is all about sharing pictures — and as an extension of our first post on what ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs