Yeah it works :) thanks to all, for help.
You have to create a new Field class with "new Field(...", i.e.
replace doc.add(Field.Text with doc.add(new Field(...
Antony
Jan Pieper wrote:
No it is not your fault, it is mine, but it also does not function.
My compiler
gives me this err
s. You should be able to build this with "ant
compile-demo". That should help get you started.
-Original Message-
From: Jan Pieper [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 05, 2006 3:06 PM
To: java-user@lucene.apache.org
Subject: Re: Problem with Field.Text()
No it is no
You have to create a new Field class with "new Field(...", i.e.
replace doc.add(Field.Text with doc.add(new Field(...
Antony
Jan Pieper wrote:
No it is not your fault, it is mine, but it also does not function. My
compiler
gives me this error message:
---
lto:[EMAIL PROTECTED]
Sent: Thursday, October 05, 2006 3:06 PM
To: java-user@lucene.apache.org
Subject: Re: Problem with Field.Text()
No it is not your fault, it is mine, but it also does not function. My
compiler
gives me this err
No it is not your fault, it is mine, but it also does not function. My
compiler
gives me this error message:
cannot find symbol:
method Field(
java.lang.String,
java.lang.String,
org.apache.lucene.document.
Blah. Sorry for the typo. Get rid of the .Text:
Field(String, String, Field.Store.YES, Field.Index.TOKENIZED);
-Original Message-
From: Jan Pieper [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 05, 2006 2:53 PM
To: java-user@lucene.apache.org
Subject: Problem with Field.Text()
I hope