Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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
@cstamas cstamas authored
View
1  indexer-core/src/main/java/org/apache/maven/index/context/DefaultIndexingContext.java
@@ -611,6 +611,7 @@ public synchronized void replace( Directory directory )
openAndWarmup();
// reclaim the index as mine
storeDescriptor();
+ rebuildGroups();
updateTimestamp( true, ts );
optimize();
}
Please sign in to comment.
Something went wrong with that request. Please try again.