Otis Gospodnetić Jakarta Lucene - System Properties

Lucene has a number of properties that can be tuned. They can be adjusted either programmatically, using the Lucene API, or their default values can be set via system properties described in this document.

Lucene Property System Property Default Value
mergeFactor org.apache.lucene.mergeFactor 10
minMergeDocs org.apache.lucene.minMergeDocs 10
maxMergeDocs org.apache.lucene.maxMergeDocs Integer.MAX_VALUE
maxFieldLength org.apache.lucene.maxFieldLength 10000
COMMIT_LOCK_TIMEOUT org.apache.lucene.commitLockTimeout 10000 ms
WRITE_LOCK_TIMEOUT org.apache.lucene.writeLockTimeout 1000 ms
maxClauseCount org.apache.lucene.maxClauseCount 1024
lockDir org.apache.lucene.lockDir the value of java.io.tmpdir system property