mirror of https://github.com/apache/archiva.git
optimize the index
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@427887 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f59a91849b
commit
4dcef5f8c6
|
@ -101,6 +101,8 @@ public class LuceneRepositoryArtifactIndex
|
|||
indexWriter.addDocument( document );
|
||||
}
|
||||
}
|
||||
|
||||
indexWriter.optimize();
|
||||
}
|
||||
catch ( IOException e )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue