Couchdb, Mango queries and Indexes
问题 I use Mango queries with Couchdb when users want to search the database. They can search by multiple fields in the document. To simplify I have a document with three fields all of which can be searched to find the document. FieldOne: cow FieldTwo: pig FieldThree: dog When creating a mango index for the query what fields should I use? Should I create and index with multiple fields? Does the order matter? There are also three different document types (A, B C) defined in a field. I only need to