top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

MongoDB: What is compound index and how it is created ?

+2 votes
506 views
MongoDB: What is compound index and how it is created ?
posted Jun 30, 2015 by Alok

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Indexes allow MongoDB to process and fulfill queries quickly by creating small and efficient representations of the documents in a collection. MongoDB supports indexes that include content on a single field, as well as compound indexes that include content from multiple fields. Continue reading for instructions and examples of building a compound index.

Create a Compound Index

answer Dec 8, 2015 by Manikandan J
...