lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Kaleske <>
Subject AW: Leftover write.lock file
Date Wed, 01 Jun 2016 13:03:57 GMT

> Never mind, folks. Just found an answer:
> > ...
> > I am new to lucene. I was following the example, IndexFiles, from the
> > lucene demo package. However, one thing I find surpring is that the
> > write.lock file is left over, even when the IndexWriter#close() method
> > is called. Below are details.
> > ...

The documentation (codecs package summary), however, claims the following:
"When this file is present, a writer is currently modifying the index (adding or removing
which, judging from the code and the above post, is wrong, and perhaps could be corrected...?
(Thanks in advance.)

Best regards,

Dipl.-Phys. Oliver Kaleske
Logistics Geographic Components

Haid-und-Neu-Straße 15
76131 Karlsruhe, Germany

Phone +49 (0) 721 9651-8211

PTV Planung Transport Verkehr AG
Headquarters: Karlsruhe
Executive Board: Vincent Kobesen (CEO), Michel Zweers (CFO)
Chairman of the Supervisory Board: Dr. h.c. Frank-Jürgen Weise
Commercial Register (HRB-Nr): 109262
Local Court: Mannheim
View raw message