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]

Reply via email to