aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-scheduler
diff options
context:
space:
mode:
authorolivier lamy <olamy@apache.org>2017-07-17 18:41:14 +1000
committerolivier lamy <olamy@apache.org>2017-07-17 18:41:14 +1000
commit7480b7ffe247268dc434a3eb079cb1e34c6bb73b (patch)
treee40691b69d153eda52e0912f59c250a657fa02c8 /archiva-modules/archiva-scheduler
parent22430044a4626cafb3bf9f2d3c9cafa2e0e679fd (diff)
downloadarchiva-7480b7ffe247268dc434a3eb079cb1e34c6bb73b.tar.gz
archiva-7480b7ffe247268dc434a3eb079cb1e34c6bb73b.zip
some progress
Signed-off-by: olivier lamy <olamy@apache.org>
Diffstat (limited to 'archiva-modules/archiva-scheduler')
-rw-r--r--archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/main/java/org/apache/archiva/scheduler/indexing/ArchivaIndexingTaskExecutor.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/main/java/org/apache/archiva/scheduler/indexing/ArchivaIndexingTaskExecutor.java b/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/main/java/org/apache/archiva/scheduler/indexing/ArchivaIndexingTaskExecutor.java
index b585fb782..478473e9a 100644
--- a/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/main/java/org/apache/archiva/scheduler/indexing/ArchivaIndexingTaskExecutor.java
+++ b/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/main/java/org/apache/archiva/scheduler/indexing/ArchivaIndexingTaskExecutor.java
@@ -232,7 +232,9 @@ public class ArchivaIndexingTaskExecutor
if ( !repository.isSkipPackedIndexCreation() )
{
- IndexPackingRequest request = new IndexPackingRequest( context, context.getIndexDirectoryFile() );
+ IndexPackingRequest request = new IndexPackingRequest( context, //
+ context.acquireIndexSearcher().getIndexReader(), //
+ context.getIndexDirectoryFile() );
indexPacker.packIndex( request );
context.updateTimestamp( true );