lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trieschnigg, R.B. \(Dolf\)" <r.b.trieschn...@ewi.utwente.nl>
Subject RE: FileNotFoundException
Date Wed, 02 Aug 2006 14:43:51 GMT
> Ok if I well understood I have to put the lock file at the 
> same place in my indexing process and searching process. 

> the code for indexing:
> 	  System.setProperty("org.apache.lucene.lockDir", System
>                .getProperty("user.dir"));

Are you sure that both the search process as well as the indexing proces run as the same user?
(if you are doing the search on a webserver it will probably will be run as the webservice
user, with a different user.dir property)

Regards,
Dolf

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message