This change should be noted in the CHANGES file also, just in case
folks are actually using this key currently.
Erik
On Nov 29, 2004, at 5:38 PM, [EMAIL PROTECTED] wrote:
bmesser 2004/11/29 14:38:48
Modified:src/java/org/apache/lucene/store FSDirectory.java
Log:
change lock
bmesser 2004/11/29 14:38:48
Modified:src/java/org/apache/lucene/store FSDirectory.java
Log:
change lockdir to lockDir so that it follows the existing casing
pattern.
Revision ChangesPath
1.39 +2 -2
jakarta-lucene/src/java/org/apache/lucene/store/FSDirectory.j
bmesser 2004/11/16 13:57:48
Modified:src/java/org/apache/lucene/store FSDirectory.java
Log:
change from RuntimeException (Exception e) to RuntimeException (String s) to
be backward compatible with jdk 1.3
Revision ChangesPath
1.37 +2 -2
jakarta-lucene/src/java
dnaber 2004/09/07 11:06:16
Modified:src/java/org/apache/lucene/store FSDirectory.java
Log:
Remove all "final" declarations from FSDirectory. Doug agreed and nobody objected,
so I commit it.
Submitted by: Mike Hearn
Revision ChangesPath
1.34 +23 -23jakarta-luc
dnaber 2004/08/07 04:19:29
Modified:src/java/org/apache/lucene/store FSDirectory.java
RAMDirectory.java OutputStream.java
Log:
remove useless "throws IOException" declarations
Revision ChangesPath
1.33 +8 -9 jakarta-lucene/src/java/org/a
otis2004/05/19 08:46:33
Modified:src/java/org/apache/lucene/store FSDirectory.java
Log:
- Another patch for bug 28074
Revision ChangesPath
1.32 +17 -12jakarta-lucene/src/java/org/apache/lucene/store/FSDirectory.java
Index: FSDirectory.java
otis2004/05/18 06:42:30
Modified:src/java/org/apache/lucene/store FSDirectory.java
Log:
- Patch for 28074: http://issues.apache.org/bugzilla/show_bug.cgi?id=28074
and minor exception message text changes
Revision ChangesPath
1.31 +13 -8 jakarta-lucene/src
cutting 2004/05/11 13:01:48
Modified:src/java/org/apache/lucene/store FSDirectory.java
Log:
Fixed to work even when java.io.tmpdir system property is null.
Revision ChangesPath
1.30 +1 -1 jakarta-lucene/src/java/org/apache/lucene/store/FSDirectory.java
Inde
cutting 2004/05/11 10:43:28
Modified:src/java/org/apache/lucene/store FSDirectory.java Lock.java
Log:
We can just use Lock.toString() to show lock file, no?
Revision ChangesPath
1.29 +1 -1 jakarta-lucene/src/java/org/apache/lucene/store/FSDirectory.java
Ind
On May 10, 2004, at 5:44 PM, Doug Cutting wrote:
[EMAIL PROTECTED] wrote:
public abstract class Lock {
public static long LOCK_POLL_INTERVAL = 1000;
+ private File lockFile = null;
++ Lock(File lockFile) {
+this.lockFile = lockFile;
+ }
I think this should be "String lock
ehatcher2004/05/10 16:46:56
Modified:src/java/org/apache/lucene/store FSDirectory.java Lock.java
Log:
switch Lock to use a String instead of File
Revision ChangesPath
1.28 +1 -1 jakarta-lucene/src/java/org/apache/lucene/store/FSDirectory.java
Index: FSDirec
[EMAIL PROTECTED] wrote:
public abstract class Lock {
public static long LOCK_POLL_INTERVAL = 1000;
+ private File lockFile = null;
+
+ Lock(File lockFile) {
+this.lockFile = lockFile;
+ }
I think this should be "String lockName" rather than "File lockFile".
Locks need n
ehatcher2004/05/09 05:41:47
Modified:src/java/org/apache/lucene/store FSDirectory.java Lock.java
RAMDirectory.java
Log:
#28855 - better lock obtain timed out error message (Daniel Naber)
Revision ChangesPath
1.27 +1 -1 jakarta-lucene/src/
otis2004/03/18 11:51:24
Modified:src/java/org/apache/lucene/index IndexWriter.java
src/java/org/apache/lucene/store FSDirectory.java
Log:
- Changed some properties from private to public and added Javadocs
Revision ChangesPath
1.25 +36 -6 jakar
otis2004/03/18 11:44:46
Modified:src/java/org/apache/lucene/store FSDirectory.java Lock.java
Log:
- Changed FSDirectory to use a lock dir specified by
org.apache.lucene.lockDir system property or java.io.temp fall-back one
Revision ChangesPath
1.24 +21 -14
ehatcher2004/03/09 16:50:41
Modified:src/java/org/apache/lucene/store FSDirectory.java
Log:
add handy getter for the File
Revision ChangesPath
1.23 +4 -0 jakarta-lucene/src/java/org/apache/lucene/store/FSDirectory.java
Index: FSDirectory.java
otis2004/01/30 08:36:10
Modified:src/java/org/apache/lucene/store FSDirectory.java
Log:
- Applied a small patch from Mladen Turk
Revision ChangesPath
1.22 +1 -1 jakarta-lucene/src/java/org/apache/lucene/store/FSDirectory.java
Index: FSDirectory.java
=
dmitrys 2003/09/25 14:50:11
Modified:src/java/org/apache/lucene/store FSDirectory.java
Log:
Added a method used in test cases to determine if a file descriptor is
closed. Added troubleshooting code (commented out) to help diagnose
problems around openning and closing files.
cutting 2003/05/29 13:18:18
Modified:src/java/org/apache/lucene/store FSDirectory.java
Log:
Fix so that lock files created in /tmp are removed when a directory is
re-created. This way attempts to create a new index after a crashed
indexing run no longer have to manually remove l
otis2003/03/18 19:20:53
Modified:src/java/org/apache/lucene/store FSDirectory.java
Log:
- Fix to support JDK 1.2 and 1.3.
Revision ChangesPath
1.17 +2 -2 jakarta-lucene/src/java/org/apache/lucene/store/FSDirectory.java
Index: FSDirectory.java
otis2003/03/03 12:58:25
Modified:src/java/org/apache/lucene/store FSDirectory.java
Log:
- Added a missing RuntimeException throw.
- s/\t/ /g
Revision ChangesPath
1.16 +38 -38jakarta-lucene/src/java/org/apache/lucene/store/FSDirectory.java
Index: FSDir
otis2003/03/03 12:46:50
Modified:src/java/org/apache/lucene/store FSDirectory.java
Log:
- Added code to throw RuntimeException when output stream cannot be closed.
Revision ChangesPath
1.15 +1 -1 jakarta-lucene/src/java/org/apache/lucene/store/FSDirectory.ja
[EMAIL PROTECTED] wrote:
+ } catch (IOException e) {
+// what can we do?
+ }
We can throw a RuntimeException. Failing silently is not acceptable.
It will cause much confusion. This will probably never fail anyway...
Doug
---
otis2003/03/01 09:38:24
Modified:src/java/org/apache/lucene/store FSDirectory.java
Log:
- Added a manual renaming of files in case the java.io.File's renameTo(File)
call fails. It has been reported that this happens on Windows JVMs.
Contributed by: Matt Tucker
Revisio
otis2003/01/29 09:18:56
Modified:src/java/org/apache/lucene/analysis Token.java
src/java/org/apache/lucene/analysis/de GermanAnalyzer.java
src/java/org/apache/lucene/analysis/ru RussianAnalyzer.java
RussianStemFilter.java
otis2002/06/26 10:30:11
Modified:src/java/org/apache/lucene/store FSDirectory.java
Log:
- Changed the 'disableLocks' system property name to 'disableLuceneLocks'.
- Fixed my own misspelling from the previous commit.
Revision ChangesPath
1.9 +5 -5 jakarta
otis2002/06/25 09:09:15
Modified:src/java/org/apache/lucene/store FSDirectory.java
Log:
- Reduced the number of condition checks for disabling locks.
- Documented the use of 'disableLocks' system property in class Javadoc.
Revision ChangesPath
1.8 +20 -18
[EMAIL PROTECTED] wrote:
[ ... ]
> + private static final boolean DISABLE_LOCKS = Boolean.getBoolean("disableLocks");
[ ... ]
> public boolean obtain() throws IOException {
> - if (Constants.JAVA_1_1) return true;// locks disabled in jdk 1.1
> + if (Constants.JAV
otis2002/06/21 07:57:46
Modified:.TODO.txt
src/java/org/apache/lucene/store FSDirectory.java
Log:
- Added the ability to disable creation of locks on the file system, in order
to allow Lucene to be used on read-only media.
To disable lock creation
otis02/03/14 21:52:57
Modified:src/java/org/apache/lucene/store FSDirectory.java
Log:
- Applied a fix for bug 6914.
Submitted by: Eugene Gluzberg
Revision ChangesPath
1.6 +2 -1 jakarta-lucene/src/java/org/apache/lucene/store/FSDirectory.java
Index:
Thanks for making all these cleanups, Otis!
One comment:
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 13, 2002 5:47 PM
> To: [EMAIL PROTECTED]
> Subject: cvs commit: jakarta-lucene/src/java/org/apache/lucene/store
> F
otis02/02/13 17:46:31
Modified:docs index.html resources.html whoweare.html
src/java overview.html
src/java/org/apache/lucene manifest
src/java/org/apache/lucene/queryParser QueryParser.jj
package.html
cutting 01/10/11 10:21:10
Modified:src/java/org/apache/lucene/store FSDirectory.java
Log:
Fixed so that getDirectory(xxx,true) correctly erases the directory
contents, even when the directory has already been accessed in this
JVM. This was broken by the thread-safety fix.
33 matches
Mail list logo