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 d
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 decide
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]
Ge
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 Director
- 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!
>
> Nic
Hi all,
I'm currently using the IndexOrderSearcher to sort the index
results. This is working fine for a single index. The problem begins
when I want to search over multiple indexes. I'm using a MultiSearcher,
and for each index I've got an IndexOrderSearcher. I obtain the results
sorted for
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 t
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 have
- 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 u
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 hav
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. Typicall
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 lu
12 matches
Mail list logo