From bd07d7acc473f717652d6f112c3a181186a97e2d Mon Sep 17 00:00:00 2001 From: Erik Hatcher Date: Mon, 26 Jan 2004 17:29:09 +0000 Subject: [PATCH] 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 --- .../WordNet/src/java/org/apache/lucene/wordnet/Syns2Index.java | 1 + 1 file changed, 1 insertion(+) diff --git a/sandbox/contributions/WordNet/src/java/org/apache/lucene/wordnet/Syns2Index.java b/sandbox/contributions/WordNet/src/java/org/apache/lucene/wordnet/Syns2Index.java index 5d66fa1ebc4..8b86745da77 100644 --- a/sandbox/contributions/WordNet/src/java/org/apache/lucene/wordnet/Syns2Index.java +++ b/sandbox/contributions/WordNet/src/java/org/apache/lucene/wordnet/Syns2Index.java @@ -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 {