File tree Expand file tree Collapse file tree 2 files changed +1
-10
lines changed
opengrok-indexer/src/main/java/org/opengrok/indexer/index Expand file tree Collapse file tree 2 files changed +1
-10
lines changed Original file line number Diff line number Diff line change 57
57
import javax .ws .rs .core .Response ;
58
58
import org .apache .lucene .analysis .Analyzer ;
59
59
import org .apache .lucene .analysis .standard .StandardAnalyzer ;
60
- import org .apache .lucene .codecs .lucene50 .Lucene50StoredFieldsFormat ;
61
- import org .apache .lucene .codecs .lucene84 .Lucene84Codec ;
62
60
import org .apache .lucene .document .DateTools ;
63
61
import org .apache .lucene .document .Document ;
64
62
import org .apache .lucene .document .Field ;
@@ -410,13 +408,6 @@ public void update() throws IOException {
410
408
IndexWriterConfig iwc = new IndexWriterConfig (analyzer );
411
409
iwc .setOpenMode (OpenMode .CREATE_OR_APPEND );
412
410
iwc .setRAMBufferSizeMB (env .getRamBufferSize ());
413
- /**
414
- * Most data in OpenGrok is indexed but not stored, so use the best
415
- * compression on the minority of data that is stored, since it
416
- * should not have a detrimental impact on overall throughput.
417
- */
418
- iwc .setCodec (new Lucene84Codec (
419
- Lucene50StoredFieldsFormat .Mode .BEST_COMPRESSION ));
420
411
writer = new IndexWriter (indexDirectory , iwc );
421
412
writer .commit (); // to make sure index exists on the disk
422
413
completer = new PendingFileCompleter ();
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ Portions Copyright (c) 2018, 2020, Chris Fraire <
[email protected] >.
60
60
</scm >
61
61
62
62
<properties >
63
- <lucene .version>8.5.2 </lucene .version>
63
+ <lucene .version>8.6.0 </lucene .version>
64
64
<mavenjavadocplugin .version>3.0.1</mavenjavadocplugin .version>
65
65
<compileSource >1.8</compileSource >
66
66
<compileTarget >1.8</compileTarget >
You can’t perform that action at this time.
0 commit comments