mirror of https://github.com/apache/archiva.git
when adding a new file tru the lucene consummer no need to scan the full repo : so using the new flag introduced in previous commit
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1159078 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0ea6774509
commit
dc319ae9f9
|
@ -171,6 +171,8 @@ public class NexusIndexerConsumer
|
|||
// specify in indexing task that this is not a repo scan request!
|
||||
ArtifactIndexingTask task =
|
||||
new ArtifactIndexingTask( repository, artifactFile, ArtifactIndexingTask.Action.ADD, context, false );
|
||||
// only update index we don't need to scan the full repo here
|
||||
task.setOnlyUpdate( true );
|
||||
try
|
||||
{
|
||||
log.debug( "Queueing indexing task '{}' to add or update the artifact in the index.", task );
|
||||
|
|
Loading…
Reference in New Issue