Synchronizing a Context

2004-01-15 Thread Niall Gallagher
Hi, I am relatively new to Velocity and I have been trying to write a shared Context for a group of Servlets. However, I see in the Javadoc documentation that the VelocityContext object is not thread safe, I have also examined the hierarchy of super classes and find that it pretty much comes

Copy Directory to Directory function ( backup)

2004-01-15 Thread Nicolas Maisonneuve
hy , i would like backup a index. 1) my first idea is to make a system copy of all the files but in the FSDirectory class, there is no public method to know where is located the directory. A simple methode like public File getDirectoryFile() { return directory; would be great; } 2) so i

AW: Copy Directory to Directory function ( backup)

2004-01-15 Thread Karsten Konrad
Hi, an elegant method is to create an empty directory and merge the index to be copied into it, using .addDirectories() of IndexWriter. This way, you do not have to deal with files at all. Regards, Karsten -Ursprüngliche Nachricht- Von: Nicolas Maisonneuve [mailto:[EMAIL PROTECTED]

Re: Copy Directory to Directory function ( backup)

2004-01-15 Thread Nicolas Maisonneuve
hmm, yes but i don't want open a indexWriter for this and there is the performance question when the index is big - Original Message - From: Karsten Konrad [EMAIL PROTECTED] To: Lucene Users List [EMAIL PROTECTED] Sent: Thursday, January 15, 2004 2:20 PM Subject: AW: Copy Directory to

Fw: Betreff: Copy Directory to Directory function ( backup)

2004-01-15 Thread Nicolas Maisonneuve
- Original Message - From: Nick Smith [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 15, 2004 2:58 PM Subject: Betreff: Copy Directory to Directory function ( backup) Hi Nico, This is the method that I use for backing up my indices... Good Luck! Nick /**

lucene not indexing under apache 2.0/windows?

2004-01-15 Thread Pierce, Tania
Let me preface this by saying I am a total beginner to apache/java/tomcat/cocoon etc. I'm thankfully fluent in xml/xslt or this would be a nightmare. Anyway, I have been given the task to figure out why one of our sites continues to chew up memory and never releases it to the point where I have

Re: Betreff: Copy Directory to Directory function ( backup)

2004-01-15 Thread Nicolas Maisonneuve
thanks ! the copy function works but i have troubles.. I used a scheduled task to backup the index. for the test , a backup is made all the 15 secondes. and sometime , in the backup process, when i clean a directory with : Directory target=FSDirectory.getDirectory(selected_backup_dir, true); i

RE: Copy Directory to Directory function ( backup)

2004-01-15 Thread Nicolas Maisonneuve
- Original Message - From: Nicolas Maisonneuve [EMAIL PROTECTED] To: Lucene Users List [EMAIL PROTECTED] Sent: Thursday, January 15, 2004 3:58 PM Subject: Re: Betreff: Copy Directory to Directory function ( backup) thanks ! the copy function works but i have troubles.. I used a

Re: lucene not indexing under apache 2.0/windows?

2004-01-15 Thread Erik Hatcher
You're missing something in your explanation. Lucene does not create XML files. On Jan 15, 2004, at 11:35 AM, Pierce, Tania wrote: Let me preface this by saying I am a total beginner to apache/java/tomcat/cocoon etc. I'm thankfully fluent in xml/xslt or this would be a nightmare. Anyway, I

Help on IOException and FileNotFoundException (synchronization issue)

2004-01-15 Thread Ardor Wei
Hi, experts, I am new to Lucene. I am trying to fix bugs in existing code. I read Lucene final 1.3 Doc (some of API) and searched the related thread on the mailing list archive. But I still couldn't solve problem even though I know the problem might be related to synchronization issues.

Re: Lucene based projects...?

2004-01-15 Thread Hamish Carpenter
Hi All, My company has been working on a project involving lucene and intend on releasing the source for it. It is a socket based wrapper for lucene. It listens on a socket for index and search requests then performs them and sends the results back down the socket. The aim was to integrate