summaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-scheduler/archiva-scheduler-indexing
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2011-09-26 16:09:01 +0000
committerOlivier Lamy <olamy@apache.org>2011-09-26 16:09:01 +0000
commit427f594239b14dbbb4fc8f5bc255fe980b88be84 (patch)
tree28f7aa725455d5e9a2c5ba08a15afdfe7c6525cf /archiva-modules/archiva-scheduler/archiva-scheduler-indexing
parente6c5aff3fc3c0bde76ab492f59080722fd61369d (diff)
downloadarchiva-427f594239b14dbbb4fc8f5bc255fe980b88be84.tar.gz
archiva-427f594239b14dbbb4fc8f5bc255fe980b88be84.zip
[MRM-1524] downloading (optionnaly) remote index to display remote artifacts in search results : honor full download parameter
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1175932 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-scheduler/archiva-scheduler-indexing')
-rw-r--r--archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/main/java/org/apache/archiva/scheduler/indexing/DownloadRemoteIndexTask.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/main/java/org/apache/archiva/scheduler/indexing/DownloadRemoteIndexTask.java b/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/main/java/org/apache/archiva/scheduler/indexing/DownloadRemoteIndexTask.java
index a6358adb9..24eccecd6 100644
--- a/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/main/java/org/apache/archiva/scheduler/indexing/DownloadRemoteIndexTask.java
+++ b/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/main/java/org/apache/archiva/scheduler/indexing/DownloadRemoteIndexTask.java
@@ -193,6 +193,7 @@ public class DownloadRemoteIndexTask
};
IndexUpdateRequest request = new IndexUpdateRequest( indexingContext, resourceFetcher );
+ request.setForceFullUpdate( this.fullDownload );
this.indexUpdater.fetchAndUpdateIndex( request );