dnaber      2004/10/16 06:03:34

  Modified:    src/demo/org/apache/lucene/demo IndexHTML.java
  Log:
  avoid accessing deprecated field
  
  Revision  Changes    Path
  1.5       +1 -1      jakarta-lucene/src/demo/org/apache/lucene/demo/IndexHTML.java
  
  Index: IndexHTML.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/demo/org/apache/lucene/demo/IndexHTML.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- IndexHTML.java    3 Aug 2004 21:49:24 -0000       1.4
  +++ IndexHTML.java    16 Oct 2004 13:03:34 -0000      1.5
  @@ -65,7 +65,7 @@
         }
   
         writer = new IndexWriter(index, new StandardAnalyzer(), create);
  -      writer.maxFieldLength = 1000000;
  +      writer.setMaxFieldLength(1000000);
   
         indexDocs(root, index, create);                  // add new docs
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to