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:
Brett Porter 2006-08-02 04:34:13 +00:00
parent f59a91849b
commit 4dcef5f8c6
1 changed files with 2 additions and 0 deletions

View File

@ -101,6 +101,8 @@ public class LuceneRepositoryArtifactIndex
indexWriter.addDocument( document );
}
}
indexWriter.optimize();
}
catch ( IOException e )
{