frequency of content indexing : Unable find section

I see a KB article which talks about changing the content index frequency. 

https://confluence.atlassian.com/confkb/how-do-i-modify-the-frequency-of-content-indexing-104300776.html

As they mentioned after extracting jar file, I am not able to find the section in the file "schedulingSubsystemContext.xml"

Can i place this into the file? 

Thanks

Swathi

bean id="indexQueueFlushTrigger" class="org.springframework.scheduling.quartz.CronTriggerBean">
    <property name="jobDetail">
        <ref bean="indexQueueFlushJob"/>
    </property>
    <property name="cronExpression">
        <value>0 0/5 * * * ?</value>
    </property>
</bean>

2 answers

1 accepted

Hi All, 

FYI - 

By default, since Confluence 5.10.x, Quartz isn't used anymore for scheduling periodic jobs. Therefore then the default interval for indexing queue to be flushed had been hard-coded to 5 seconds.

There is no way for you to edit the indexing scheduler without editing the source code and redeploy confluence.

Thanks,

Swathi

0 vote

Hi Swathi,

I was able to open the confluence-6.4.1.jar file on my computer and I am able to find the schedulingSubsystemContext.xml file mentioned. 

Can you let us know what operating system you're on and what your Confluence version is?

Kind Regards,
Shannon

Hello Shannon,

Its not the file that is missing but the section in the XML file. 

I also raised request with support : https://getsupport.atlassian.com/servicedesk/customer/portal/14/CSP-214800

I got the following reply : 

 

Unfortunately because the indexing task is so critical to the functioning of Confluence, we do not provide a way for this schedule to be edited.

Editing the schedulingSubsystemContext.xml file falls into the category of "unsupported customisations", so you will be voiding your support warranty if you do this

By default, since Confluence 5.10.x, Quartz isn't used anymore for scheduling periodic jobs. Therefore then the default interval for indexing queue to be flushed had been hard-coded to 5 seconds.

Therefore, I am sorry to inform you that there is no way for you to edit the indexing scheduler without editing the source code and redeploy confluence.

 

Thanks!

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

345 views 20 10
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you