Re: error in code

2009-03-06 Thread Ganesh
"content",textReader)); document.add(new Field("content", textReader); document.add(Field.Text("path",textFiles[i].getPath()));* document.add(new Field("path", textFiles[i].getPath()); Regards Ganesh - Original Message - From: "nitin g

Re: error in code

2009-03-06 Thread nitin gopi
t.add(Field.Text("content",textReader)); >> >document.add(new Field("content", textReader); > > document.add(Field.Text("path",textFiles[i].getPath()));* >> > document.add(new Field("path", textFiles[i].getPath()); > >

Re: error in code

2009-03-05 Thread Ganesh
dd(Field.Text("path",textFiles[i].getPath()));* document.add(new Field("path", textFiles[i].getPath()); Regards Ganesh - Original Message - From: "nitin gopi" To: Sent: Friday, March 06, 2009 8:24 AM Subject: error in code Hi all, I am getting error in running this c

error in code

2009-03-05 Thread nitin gopi
Hi all, I am getting error in running this code. Can somebody please tell me what is the problem? The code is given below. The bold lines were giving error as *cannot find symbol * import java.io.File; import java.io.FileReader; import java.io.Reader; import java.util.Date; import org.apache.