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

This widget could not be displayed.

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

This widget could not be displayed.

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
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

460 views 6 6
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