Index: trunk/mwsearch/Search/SearchState.cs |
— | — | @@ -124,7 +124,7 @@ |
125 | 125 | OpenReader(); |
126 | 126 | _errorOnOpen = false; |
127 | 127 | } catch (IOException e) { |
128 | | - log.Error(dbname + ": warning: open for read failed"); |
| 128 | + log.Error(dbname + ": warning: open for read failed" + e); |
129 | 129 | _errorOnOpen = true; |
130 | 130 | } |
131 | 131 | mydbname = dbname; |
— | — | @@ -258,7 +258,7 @@ |
259 | 259 | Reopen(); |
260 | 260 | |
261 | 261 | log.Info("Opening index writer for " + mydbname); |
262 | | - writer = new IndexWriter(indexpath, analyzer, true); |
| 262 | + writer = new IndexWriter(indexpath, analyzer, false); |
263 | 263 | writable = true; |
264 | 264 | //updatesWritten = 0; |
265 | 265 | } |