On Wed, 2006-07-26 at 13:56 -0700, Otis Gospodnetic wrote:
> 
> I haven't exactly looked at the source code in your branch, but I
> always wondered how changes in your personal branch off of Lucene 2
> will ever get into the main trunk, since your efforts are, I think,
> omstly out of sync with patches and changes people are making in HEAD.


It's quite up to date with the head now. Required changes are:

Index: org/apache/lucene/index/IndexWriter.java
===================================================================
--- org/apache/lucene/index/IndexWriter.java    (revision 424734)
+++ org/apache/lucene/index/IndexWriter.java    (working copy)
@@ -56,7 +56,7 @@
   @see IndexModifier IndexModifier supports the important methods of
IndexWriter plus deletion
   */
 
-public class IndexWriter {
+public class IndexWriter implements InterfaceIndexWriter {
 
   /**
    * Default value for the write lock timeout (1,000).
Index: org/apache/lucene/index/Term.java
===================================================================
--- org/apache/lucene/index/Term.java   (revision 424734)
+++ org/apache/lucene/index/Term.java   (working copy)
@@ -24,7 +24,8 @@
   Note that terms may represent more than words from text fields, but
also
   things like dates, email addresses, urls, etc.  */
 
-public final class Term implements Comparable, java.io.Serializable {
+public class Term implements Comparable, java.io.Serializable {
+  private static final long serialVersionUID = 1l;  
   String field;
   String text;
 
Index: org/apache/lucene/document/Document.java
===================================================================
--- org/apache/lucene/document/Document.java    (revision 424734)
+++ org/apache/lucene/document/Document.java    (working copy)
@@ -36,7 +36,8 @@
  * IndexReader#document(int)}.
  */
 
-public final class Document implements java.io.Serializable {
+public class Document implements java.io.Serializable {
+  private static final long serialVersionUID = 1l;  
   List fields = new Vector();
   private float boost = 1.0f;
 



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

Reply via email to