Text is not indexed when passed as a StringReader

2005-09-16 Thread Matthias Bräuer
Hello, this question seems to have occured in the mailing list before but I wasn't able to find a satisfying answer. So please excuse if I'm asking something that has already been discussed. My problem is as follows: If I use the Field.Text(String,Reader) method to create an indexed, but uns

Re: "Best-practice" in a web application AND live update of index used by Tomcat

2005-09-20 Thread Matthias Bräuer
Hello, I have a question regarding your answers to two previous posts: >For best performance, use a single IndexSearcher instance across your entire application. >DelayCloseIndexSearcher overrides the close() method so it does not >close immediately: it only decrements the usage counter. [.

Re: "Best-practice" in a web application AND live update of index used by Tomcat

2005-09-21 Thread Matthias Bräuer
Hello, Are you sure that both processes use the same directory to store the Lock files? Well, the variable FSDirectory.LOCK_DIR shows for both applications the same value (the temp directory in my home directory C:\Documents and Settings\Matthew\...). If both processes are on the same ma