Re: Mongo aggregate fails?

From: Asya Kamsky <asya@xxxxxxxxxxx>
To: "mongodb-user@xxxxxxxxxxxxxxxx" <mongodb-user@xxxxxxxxxxxxxxxx>
Date: Mon, 18 Apr 2016 00:08:40 -0400
Why ads?
You don't have enough closing braces } you need one more before ]

The ... means it's waiting for more input.

On Sunday, April 17, 2016, Damon Casale <damoncasale@xxxxxxxxx> wrote:

I'm unable to run a Mongo aggregate command.  It prints "..." in the
command shell and never finishes.  Even explain stalls.

I'm trying to do this:

db.listings.aggregate([{$group: {'_id': {AssignedNeighborhood:
$AssignedNeighborhood}, 'count': {$sum: 1}}], {explain: true})

What am I doing wrong?  Please help.

Mongo version is 2.6.11.  And yes, I have an index on AssignedNeighborhood.

Damon

--
You received this message because you are subscribed to the Google Groups
"mongodb-user"
group.

For other MongoDB technical support options, see:
https://docs.mongodb.org/manual/support/
---
You received this message because you are subscribed to the Google Groups
"mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to mongodb-user+unsubscribe@xxxxxxxxxxxxxxxx
<javascript:_e(%7B%7D,'cvml','mongodb-user%2Bunsubscribe@xxxxxxxxxxxxxxxx');>
.
To post to this group, send email to mongodb-user@xxxxxxxxxxxxxxxx
<javascript:_e(%7B%7D,'cvml','mongodb-user@xxxxxxxxxxxxxxxx');>.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit
https://groups.google.com/d/msgid/mongodb-user/9764263d-1c10-4615-8d47-cf9488cad278%40googlegroups.com
<https://groups.google.com/d/msgid/mongodb-user/9764263d-1c10-4615-8d47-cf9488cad278%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.



-- 
Asya Kamsky
Lead Product Manager
MongoDB
Download MongoDB - mongodb.org/downloads
Free MongoDB Monitoring - cloud.mongodb.com
Free Online Education - university.mongodb.com
Get Involved - mongodb.org/community
We're Hiring! - https://www.mongodb.com/careers

-- 
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.

For other MongoDB technical support options, see: https://docs.mongodb.org/manual/support/
--- 
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+unsubscribe@xxxxxxxxxxxxxxxx.
To post to this group, send email to mongodb-user@xxxxxxxxxxxxxxxx.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/CAOe6dJC1thS53-coB_djrTPtwt383RozqS-_4RwL9SXPTc8JGw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Why ads?