This code generate error, kindly tell me that what parameters will be use when we use constructors.

Document doc = new Document();
     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]));
     writer.addDocument(doc);


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to