lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ehatc...@apache.org
Subject cvs commit: jakarta-lucene-sandbox/contributions/WordNet/src/java/org/apache/lucene/wordnet Syns2Index.java
Date Mon, 26 Jan 2004 17:29:09 GMT
ehatcher    2004/01/26 09:29:09

  Modified:    contributions/WordNet/src/java/org/apache/lucene/wordnet
                        Syns2Index.java
  Log:
  modify to build syn index in compound format
  
  Revision  Changes    Path
  1.3       +1 -0      jakarta-lucene-sandbox/contributions/WordNet/src/java/org/apache/lucene/wordnet/Syns2Index.java
  
  Index: Syns2Index.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene-sandbox/contributions/WordNet/src/java/org/apache/lucene/wordnet/Syns2Index.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Syns2Index.java	6 Jan 2004 01:30:01 -0000	1.2
  +++ Syns2Index.java	26 Jan 2004 17:29:09 -0000	1.3
  @@ -201,6 +201,7 @@
   
           // 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
           {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Mime
View raw message