lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: Field class in Lucene 1.4.3 & Lucene 2.0.0
Date Fri, 16 Jun 2006 10:43:27 GMT
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: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message