RavenDB-3022 Indexing performance improvments