What do all of the search/index related scheduled tasks do and when should I schedule them? – Sonatype Support

Nexus Repository 2 officially sunsetted June 30, 2025. Visit my.sonatype.com for archived documentation. Migrate to Sonatype Nexus Repository 3 as soon as possible.


If your build fails because of a missing artifact, this is not an index problem. No indexing task can fix that type of failure.

Lucene Indexes in Nexus Repository 2 are used to support Maven 2 format repository search in the UI, they are not needed for builds.

This is important to keep in mind, many people get the idea that if the indexes are not 100% up to date there will be build failures.

Under "administration/scheduled tasks" you will find that there are a number of different indexing tasks available. Here's a brief rundown of the available tasks, and what they are used for.

Best Practice

In general running Update Indexes once a day is all you need to do to keep the Nexus Repository 2 search indexes up to date and in good working order.

Standard Indexing Tasks

Advanced Indexing Tasks