Skip to content

Commit

Permalink
Modifying memory limit for Lucene indexing
Browse files Browse the repository at this point in the history
  • Loading branch information
schuemie committed May 10, 2019
1 parent 28c7ff6 commit 98e0864
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/ohdsi/usagi/UsagiSearchEngine.java
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public void createNewMainIndex() {

IndexWriterConfig iwc = new IndexWriterConfig(Version.LUCENE_4_9, new UsagiAnalyzer());
iwc.setOpenMode(OpenMode.CREATE);
iwc.setRAMBufferSizeMB(256.0);
iwc.setRAMBufferSizeMB(128.0);
writer = new IndexWriter(dir, iwc);

} catch (Exception e) {
Expand Down

0 comments on commit 98e0864

Please sign in to comment.