Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
MartinMond
on Oct 8, 2012
|
parent
|
context
|
favorite
| on:
Optimizing MongoDB Compound Indexes
Yes of course, but it's kinda slow if you have to maintain one compound index for each possible query you're going to run, that's why I was asking.
chmod775
on Oct 9, 2012
[–]
Nope, you can use the compound index 'a,b,c' to query over the following fields:
a a.b a,b,c
The manual actually explains it like that.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: