modify to build syn index in compound format

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150947 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Erik Hatcher 2004-01-26 17:29:09 +00:00
parent bd0af19e91
commit bd07d7acc4
1 changed files with 1 additions and 0 deletions

View File

@ -201,6 +201,7 @@ public class Syns2Index
// override the specific index if it already exists
IndexWriter writer = new IndexWriter(indexDir, ana, true);
writer.setUseCompoundFile(true);
Iterator i1 = word2Nums.keySet().iterator();
while (i1.hasNext()) // for each word
{