On 8/21/06, melvincarvalho <[EMAIL PROTECTED]> wrote:
Hi All I am trying to run some of the demos for Lucene but cant seem to find the Field.Text class in the javadoc or to compile with lucene 2.0.0 Am I doing something wrong? doc.add(Field.Text("title",acc.getTitle()));
This static method has been removed after 1.9 which is the last compatible version to 1.4 The 1.9 java doc says: /** Constructs a String-valued Field that is tokenized and indexed, and is stored in the index, for return with hits. Useful for short text fields, like "title" or "subject". Term vector will not be stored for this field. @deprecated use [EMAIL PROTECTED] #Field(String, String, Field.Store, Field.Index) Field(name, value, Field.Store.YES, Field.Index.TOKENIZED)} instead */ best regards simon
http://www.jroller.com/page/wakaleo/?anchor=lucene_a_tutorial_introduction_to -- View this message in context: http://www.nabble.com/Field.Text-tf2140381.html#a5907346 Sent from the Lucene - Java Users forum at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]