Confluence is not indexing new content

Confluence version: 5.1

Logging: Have added com.atlassian.confluence.search.lucene package and set it to DEBUG (both dev and prod)

On our production server, confluence content index queue is not being flushed automatically. I see that new entries are added to the queue:

2013-12-18 04:44:49,238 DEBUG [http-8090-21] [search.lucene.queue.DatabaseIndexTaskQueue] enqueue Enqueuing task: IndexQueueEntry{id=0, handle='com.atlassian.confluence.pages.Page-2005661', type=Unknown, creationDate=Wed Dec 18 04:44:49 CST 2013}

2013-12-18 04:44:49,240 DEBUG [http-8090-21] [search.lucene.queue.DatabaseIndexTaskQueue] enqueue Enqueuing task: IndexQueueEntry{id=0, handle='com.atlassian.confluence.pages.Page-2005661', type=Unknown, creationDate=Wed Dec 18 04:44:49 CST 2013}

But they arent being indexed/flushed.

However, on our dev server, I dont see this issue. More importantly, I see messages like these on dev server but not on production server:

2013-12-18 06:47:30,006 DEBUG [scheduler_Worker-6] [confluence.search.lucene.DefaultConfluenceIndexManager] flushQueue flush requested

I should be seeing these messages on production server too.

In production, under scheduled jobs, for Flush Index Queue History I see that it the job seems to have ran every 5 sec but I shouldnt I see log messages like in dev: "flushQueue flush requested" ? Also the Duration in production is 0 or 1 ms but in dev it is > 2 ms. I agree our production servers are powerful but 0 ms seems suspicious.

I looked at this article:

https://confluence.atlassian.com/display/CONFKB/Confluence+Fails+to+Process+Index+Queue+Automatically

but I dont see any "getUnflushedEntries" message in prod. I do see them in dev though.

I am suspecting the issue is with Quartz scheduler. Any pointers?

1 answer

This widget could not be displayed.

Hi,

Have you tried rebuilding the index from scratch?

you can follow the instructions in the following link:

https://confluence.atlassian.com/display/CONFKB/Rebuild+the+Content+Indices+from+Scratch

Hope this helps

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 17, 2018 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...

599 views 8 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