lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grant Ingersoll <gsing...@apache.org>
Subject Re: LIA example problem
Date Sun, 25 Nov 2007 16:32:08 GMT
LIA is based on 1.4.3 of Lucene.  The Field.Keyword, etc. methods have  
been removed in place of just using constructors.

-Grant

On Nov 25, 2007, at 10:41 AM, Liaqat Ali wrote:

> Hello
>
>
> I m studying Lucene In Action. In chapter 2 the first example in  
> generating errors in this part of code.
>
> doc.add(Field.Keyword("id", keywords[i]));
>     doc.add(Field.UnIndexed("country", unindexed[i]));
>     doc.add(Field.UnStored("contents", unstored[i]));
>     doc.add(Field.Text("city", text[i]));
>
>
>
>
> This four statements generate errors. These API are deprecated.
>
>
> Kindly guide in this regard..
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>

--------------------------
Grant Ingersoll
http://lucene.grantingersoll.com

Lucene Helpful Hints:
http://wiki.apache.org/lucene-java/BasicsOfPerformance
http://wiki.apache.org/lucene-java/LuceneFAQ




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