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 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));



But Now in Lucene 2.0.0 I don't have that facility

So instead of that why should I do?



I want Keyword field to maintain uniqueness in Index. OW what should I
do to maintain Uniqueness in Index by using Lucene 2.0.0 ?



Thanks in advance.





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

Reply via email to