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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

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 ...

942 views 23 12
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