Foreground Index Vs Background Index By default an index in MongoDB is Foreground index and while an index is a foreground index it will block all other writers (i-e no other process can write to collection), We can build it in background so that it will not block other writers. Foreground Indexes are 1. Fast