lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Liaqat Ali <>
Subject LIA example problem
Date Sun, 25 Nov 2007 15:41:32 GMT

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:
For additional commands, e-mail:

View raw message