lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philippe Dubois" <phili...@voxistech.com>
Subject RE: change directory
Date Mon, 03 May 2004 14:09:11 GMT
Hello,

I already had this problem.

Check if a file "C:\Documents and Settings\philippe\Local
Settings\Temp\lu*.lock" exist and delete it !  

You can delete it if no writer is running !

Philippe 

-----Original Message-----
From: Rosen Marinov [mailto:rosenm@sirma.bg] 
Sent: lundi 3 mai 2004 15:52
To: Lucene Users List
Subject: change directory

Hi all,

I have a good working index about 3 GB in one directory for example in
c:/index1

now i want to change the computer and directory for example
to d:/index2    (is this possible ???)

and when i copy it to the new pc and directory  on
IndeaxReader(indexpath) i get 
    
      java.io.IOException: Lock obtain timed out
        at org.apache.lucene.store.Lock.obtain(Lock.java:97)
        at org.apache.lucene.store.Lock$With.run(Lock.java:147)
        at org.apache.lucene.index.IndexReader.open

before coping i closed all java aplications, index was with closed writers,
readers, serachers, terms and etc ...
i have finally clauses to close all this and shut down function, all my
methods which works with index are synchronized.

10x fopr help in advance


Mime
View raw message