Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
db: create indexes on fields we are going to use in filters
Indexes will be created in the "background": read / write operations are allowed on the documents of the collection, while the new indexes are being built. At the same time, one can't drop a collection, while an index build is in progress, thus, replace all drop()'s in tests with remove()'s, so that we don't drop the collection between tests and don't have to rebuild indexes again.
- Loading branch information
Roman Podoliaka
committed
Feb 28, 2016
1 parent
09e359a
commit 95e5b68
Showing
2 changed files
with
29 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters