Re: Field class in Lucene 1.4.3 & Lucene 2.0.0

2006-06-16 Thread Erik Hatcher
Have a look at the CHANGES.txt file. First try upgrading to Lucene 1.9.x and then ensuring all the deprecation warnings are gone from compilation, then you can cleanly go to 2.0. Erik On Jun 16, 2006, at 4:35 AM, Vikas Khengare wrote: Hi Friends I was using Lucene

Field class in Lucene 1.4.3 & Lucene 2.0.0

2006-06-16 Thread Vikas Khengare
Hi Friends I was using Lucene 1.4.3 But Now I am using Lucene 2.0.0. The First Problem arise is that in Lucene I was using doc.add (Field.Keyword(FIELD_URL, item.uri)); doc.add (Field.Text(FIELD_OBJNAME, item.ObjName)); doc.add (Field.UnStored(FIELD_ALLDOCS, item.allConcat));