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 votes

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
Published Nov 29, 2018 in New to Confluence

How to use Confluence Cloud for stakeholder management

Most of us don’t need much convincing that stakeholder management is important. It just makes sense that keeping everyone in-the-know on projects and assigning clearly defined roles is key to having ...

1,015 views 0 5
Read article

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