RE: Index all the files in a directory

2006-04-30 Thread Kostas V.
Dear Erick (and everyone who might read my post) hi and thank you very much for your help. I've tried your program but I do something wrong and it is only index the last txt in the directory. If you could see my problem because I am new to Java and Lucene as well. Thanks in advance Kostas publi

RE: Index all the files in a directory

2006-04-19 Thread Kostas V.
Dear Nick, Thank you for your reply, but I still face some problems. I saw the API for FilenameFilter... but I can't instantiate it because it's abstract. The accept method has a parameter name? Where is this? And how I call this method? Finally what are those " : " in the for loop. Sorry but if

Use two Analyzers in Lucene

2006-04-02 Thread Kostas V.
Hello, I'm new to Java and in Lucene as well and I have a little problem. I have to index and search with Lucene some papers that are written both in English and Greek. When I say both I mean that in the same txt there are both Greek na d English words. I have the Analyzers for both languages (the