|
Size: 281
Comment: case of lockDir changed to lockdir to reflect the status of the actual code.
|
← Revision 3 as of 2009-09-20 21:47:54 ⇥
Size: 281
Comment: converted to 1.6 markup
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 3: | Line 3: |
| '''Check default directory for lock files: '''[[BR]] | '''Check default directory for lock files: '''<<BR>> |
| Line 7: | Line 7: |
| '''Set directory for lock files: '''[[BR]] | '''Set directory for lock files: '''<<BR>> |
How to change the ''apache.lucene.lockdir'' system property
Check default directory for lock files:
System.getProperty("java.io.tmpdir");
Set directory for lock files:
System.setProperty("org.apache.lucene.lockdir", new File("..."));