Re: HELP...compiling first program for lucene Indexer.java

2008-02-24 Thread sumittyagi
* >> >> and the errors which i am getting are >> >> C:\Documents and Settings\Sumit\Desktop\db>javac Indexer.java >> Indexer.java:60: cannot find symbol >> symbol : method Text(java.lang.String,ja

Re: HELP...compiling first program for lucene Indexer.java

2008-02-24 Thread Stephane Nicoll
java.lang.String,java.io.FileReader) > location: class org.apache.lucene.document.Field > doc.add(Field.Text("contents", new FileReader(f))); > ^ > Indexer.java:61: cannot find symbol > symbol : method Keyword(java.lang.String,java.lang.String) &

HELP...compiling first program for lucene Indexer.java

2008-02-23 Thread sumittyagi
g,java.lang.String) location: class org.apache.lucene.document.Field doc.add(Field.Keyword("filename", f.getCanonicalPath())); ^ 2 errors any suggestions ..please -- View this message in context: http://www.nabble.com/HELP...compiling-f