Re: Problem with Field.Text()

2006-10-05 Thread Jan Pieper
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

Re: Problem with Field.Text()

2006-10-05 Thread Erick Erickson
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

Re: Problem with Field.Text()

2006-10-05 Thread Antony Bowesman
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: ---

RE: Problem with Field.Text()

2006-10-05 Thread Steven Parkes
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

Re: Problem with Field.Text()

2006-10-05 Thread Jan Pieper
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.

RE: Problem with Field.Text()

2006-10-05 Thread Steven Parkes
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