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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]