add read-only mode for PersistentMapBasedForwardIndex

GitOrigin-RevId: cee6ef617c8df4e948ea14370c229af84f8354d4
This commit is contained in:
Dmitry Batkovich
2019-12-18 07:34:07 +00:00
committed by intellij-monorepo-bot
parent df6f5b23ad
commit 1713964360
10 changed files with 17 additions and 12 deletions
@@ -103,7 +103,7 @@ public class StringIndex {
};
myIndex = new MapReduceIndex<String, String, PathContentPair>(extension,
storage,
new PersistentMapBasedForwardIndex(forwardIndexFile),
new PersistentMapBasedForwardIndex(forwardIndexFile, false),
new KeyCollectionForwardIndexAccessor<>(anotherStringExternalizer)) {
@Override
public void checkCanceled() {