lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Liaqat Ali <liaqatalim...@gmail.com>
Subject Problem with Add method
Date Thu, 29 Nov 2007 08:25:24 GMT
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: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message