@@ -92,7 +92,7 @@ public void configure(BrokerPool pool, Path dataDir, Element config) throws Data
92
92
try {
93
93
bufferSize = Double .parseDouble (bufferSizeParam );
94
94
} catch (NumberFormatException e ) {
95
- LOG .warn ("Invalid buffer size setting for lucene index: {}" , bufferSizeParam , e );
95
+ LOG .warn ("Invalid buffer size setting for Lucene index: {}" , bufferSizeParam , e );
96
96
}
97
97
98
98
if (LOG .isDebugEnabled ())
@@ -138,7 +138,7 @@ public void open() throws DatabaseConfigurationException {
138
138
searcherManager = new SearcherTaxonomyManager (cachedWriter , true , null , cachedTaxonomyWriter );
139
139
readerManager = new ReaderManager (cachedWriter , true );
140
140
} catch (IOException e ) {
141
- throw new DatabaseConfigurationException ("Exception while reading lucene index directory: " +
141
+ throw new DatabaseConfigurationException ("Exception while reading Lucene index directory: " +
142
142
e .getMessage (), e );
143
143
} finally {
144
144
releaseWriter (writer );
@@ -167,7 +167,7 @@ public synchronized void close() throws DBException {
167
167
taxoDirectory .close ();
168
168
directory .close ();
169
169
} catch (IOException e ) {
170
- throw new DBException ("Caught exception while closing lucene indexes: " + e .getMessage ());
170
+ throw new DBException ("Caught exception while closing Lucene indexes: " + e .getMessage ());
171
171
}
172
172
}
173
173
@@ -229,17 +229,17 @@ protected void commit() {
229
229
}
230
230
try {
231
231
if (LOG .isDebugEnabled ()) {
232
- LOG .debug ("Committing lucene index" );
232
+ LOG .debug ("Committing Lucene index" );
233
233
}
234
234
if (cachedWriter != null ) {
235
235
cachedTaxonomyWriter .commit ();
236
236
cachedWriter .commit ();
237
237
}
238
238
needsCommit = false ;
239
239
} catch (CorruptIndexException cie ) {
240
- LOG .error ("Detected corrupt Lucence index on writer release and commit: {}" , cie .getMessage (), cie );
240
+ LOG .error ("Detected corrupt Lucene index on writer release and commit: {}" , cie .getMessage (), cie );
241
241
} catch (IOException ioe ) {
242
- LOG .error ("Detected Lucence index issue on writer release and commit: {}" , ioe .getMessage (), ioe );
242
+ LOG .error ("Detected Lucene index issue on writer release and commit: {}" , ioe .getMessage (), ioe );
243
243
}
244
244
}
245
245
0 commit comments