Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

MINDEXER-68: Rebuild groups in case of replace too

Methods merge and replace of IndexingContext had slight
difference (that caused some confusion): the latter did
not rebuild groups, rendering functionality IndexTreeView
defunct while search was working okay.

git-svn-id: https://svn.apache.org/repos/asf/maven/indexer/trunk@1410266 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
commit 7a25442bfaa094401b189aecd00d4f7acdd1c514 1 parent 5060eee
Tamas Cservenak authored
1  indexer-core/src/main/java/org/apache/maven/index/context/DefaultIndexingContext.java
@@ -611,6 +611,7 @@ public synchronized void replace( Directory directory )
611 611
         openAndWarmup();
612 612
         // reclaim the index as mine
613 613
         storeDescriptor();
  614
+        rebuildGroups();
614 615
         updateTimestamp( true, ts );
615 616
         optimize();
616 617
     }

0 notes on commit 7a25442

Please sign in to comment.
Something went wrong with that request. Please try again.