hi compile error

2007-02-12 Thread ashwin kumar
hi all my name is ashwin i am trying to compile this program but its not getting compiled the error msg follows the code which is below import java.io.File; import java.io.FileReader; import java.io.Reader; import java.util.Date; import org.apache.lucene.analysis.Analyzer; import org.apache.luce

Re: hi compile error

2007-02-12 Thread Bhavin Pandya
Hi ashwin, I think there is error in your import statement... import org.apache.lucene.document.Field; Thanks. Bhavin pandya - Original Message - From: "ashwin kumar" <[EMAIL PROTECTED]> To: Sent: Tuesday, February 13, 2007 11:04 AM Subject: hi compile error h

Re: hi compile error

2007-02-12 Thread Doron Cohen
Hi ashwin, ashwin kumar wrote: > File fileDir = new File("C:\\files_to_index ");//fileDir is the Notice a redundant trailing space here. > document.add(Field.Text("content",textReader)); > D:\ASHWIN\testing\searching\TextFileIndexer.java:40: cannot find symbol > sy

Re: hi compile error

2007-02-12 Thread Kapil Chhabra
Hi, replace /import org.apache.lucene.document.Field.*; / with /import org.apache.lucene.document.Field; / and you are done. Regards, kapilChhabra ashwin kumar wrote: hi all my name is ashwin i am trying to compile this program but its not getting compiled the error msg follows the code whi

Re: hi compile error

2007-02-13 Thread Saroja Kanta Maharana
Hi, I also new to lucene. As see your error, It may be the Lucene version problem. Which version r u using? means which which jar file ? Will you say me the Lucene Jar file name ?? Regards Saroj On 2/13/07, Doron Cohen <[EMAIL PROTECTED]> wrote: Hi ashwin, ashwin kumar wrote: > F