don't use forward index for single entry indexes
authorDmitry Batkovich <dmitry.batkovich@jetbrains.com>
Wed, 9 Oct 2019 05:45:25 +0000 (08:45 +0300)
committerintellij-monorepo-bot <intellij-monorepo-bot-no-reply@jetbrains.com>
Thu, 10 Oct 2019 15:31:26 +0000 (15:31 +0000)
commitf8151e8af1bb9db7ac35e76ab01b02a3c5d14f7a
treeb4396928980efeab8996eb6b0ae8741d0ef25a5d
parent56c486c0acb516529e66d40c487532b8e83e427c
don't use forward index for single entry indexes

GitOrigin-RevId: 6dc4afce26f0a7dde9a6183a797f26d1dc45e0a1
images/intellij.platform.images.iml
images/test/org/intellij/images/index/ImageInfoIndexTest.java [new file with mode: 0644]
platform/lang-impl/src/com/intellij/psi/stubs/StubUpdatingIndex.java
platform/lang-impl/src/com/intellij/util/indexing/VfsAwareMapReduceIndex.java
platform/lang-impl/src/com/intellij/util/indexing/impl/forward/SingleEntryIndexForwardIndexAccessor.java [new file with mode: 0644]
platform/util/src/com/intellij/util/indexing/impl/forward/EmptyForwardIndex.java [moved from platform/lang-impl/src/com/intellij/psi/stubs/EmptyForwardIndex.java with 86% similarity]