Skip to content

Commit 9373444

Browse files
tarzanekVladimir Kotal
authored andcommitted
lucene 8.4.0
1 parent 346df05 commit 9373444

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

opengrok-indexer/src/main/java/org/opengrok/indexer/index/IndexDatabase.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
import org.apache.lucene.analysis.Analyzer;
5959
import org.apache.lucene.analysis.standard.StandardAnalyzer;
6060
import org.apache.lucene.codecs.lucene50.Lucene50StoredFieldsFormat;
61-
import org.apache.lucene.codecs.lucene80.Lucene80Codec;
61+
import org.apache.lucene.codecs.lucene84.Lucene84Codec;
6262
import org.apache.lucene.document.DateTools;
6363
import org.apache.lucene.document.Document;
6464
import org.apache.lucene.document.Field;
@@ -416,7 +416,7 @@ public void update() throws IOException {
416416
* compression on the minority of data that is stored, since it
417417
* should not have a detrimental impact on overall throughput.
418418
*/
419-
iwc.setCodec(new Lucene80Codec(
419+
iwc.setCodec(new Lucene84Codec(
420420
Lucene50StoredFieldsFormat.Mode.BEST_COMPRESSION));
421421
writer = new IndexWriter(indexDirectory, iwc);
422422
writer.commit(); // to make sure index exists on the disk

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Portions Copyright (c) 2018, Chris Fraire <[email protected]>.
6060
</scm>
6161

6262
<properties>
63-
<lucene.version>8.3.1</lucene.version>
63+
<lucene.version>8.4.0</lucene.version>
6464
<mavenjavadocplugin.version>3.0.1</mavenjavadocplugin.version>
6565
<compileSource>1.8</compileSource>
6666
<compileTarget>1.8</compileTarget>

0 commit comments

Comments
 (0)