Re: FileNotFoundException: code example

2002-04-29 Thread Otis Gospodnetic
Hello, I'll put my comments inline... --- petite_abeille <[EMAIL PROTECTED]> wrote: > Hello again, > > attached is the source code of the only class interacting directly > with > Lucene in my app. Sorry for not providing a complete test case as > it's > hard for me to come up with something s

Re: FileNotFoundException: code example

2002-04-29 Thread Ian Lea
> > I would add some logging to the code > > You lost me here... Where should I add some logging? At the top of every method, or next to every lucene call, or wherever anything interesting happens. System.out.println("Calling search()"); or use log4j or whatever you prefer. > > to get more

Re: FileNotFoundException: code example

2002-04-29 Thread Jagadesh Nandasamy
Hi petite, I will try to be brief... In lucene the number of files created depends on the number of fields the document has so lets take an example you want to index 100 files if each file contains 10 fields document.add(Field.Text(UNIQUE_ID, "1234

Re: FileNotFoundException: code example

2002-04-29 Thread petite_abeille
> I would add some logging to the code You lost me here... Where should I add some logging? > to get more idea of which Lucene methods are > actually being called, when, in what sequence. I typical sequence looks like that: - search() - deleteIndexWithID() - indexValuesWithID() PA -- To u

Re: FileNotFoundException: code example

2002-04-29 Thread Ian Lea
Hello I can't spot anything but I'm definitely not the world's greatest Lucene expert and maybe someone else will. Perhaps the stack trace will help too. Failing that, and if you still can't come up with a complete self-contained test case to show the problem, I would add some logging to the c

FileNotFoundException: code example

2002-04-28 Thread petite_abeille
Hello again, attached is the source code of the only class interacting directly with Lucene in my app. Sorry for not providing a complete test case as it's hard for me to come up with something self contained. Maybe there is something that's obviously wrong in what I'm doing. Thanks for any h