Index: oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/LucenePropertyIndex.java
===================================================================
--- oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/LucenePropertyIndex.java (revision 1873416)
+++ oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/LucenePropertyIndex.java (working copy)
@@ -192,7 +192,7 @@
public class LucenePropertyIndex extends FulltextIndex {
- private static boolean NON_LAZY = Boolean.getBoolean("oak.lucene.nonLazyIndex");
+ private static boolean NON_LAZY = Boolean.parseBoolean(System.getProperty("oak.lucene.nonLazyIndex","true"));
private static double MIN_COST = 2.1;
reschke - in this case, if someone actually sets the property oak.lucene.nonLazyIndex = true in system properties and would expect there should not be any lazy index loading - but the system would behave otherwise.