MongoDB is a scalable, high-performance, open source, document-oriented database. It supports a large number of languages and application development platforms.

learn more… | top users | synonyms (2) | mongodb jobs

0
votes
1answer
14 views

Mongoose TypeError: Cannot use 'in' operator to search for '_id' in [object Object]

I am new to mongodb and for the past couple days I have been trying to get my entries into my mongolab instance but have not had any luck. It seems when I execute the save call I get an error stating: ...
0
votes
0answers
5 views

Acces an element in an array, in a subdocument, in a document using MongoDB and Codeigniter

I have this document in the 'families' table: { "_id" : { "$oid" : "51b701a81c1d7bd459000001" }, "items" : { "tasks" : [{ ...
0
votes
0answers
3 views

Mongoose, insert record and retrieve record via object

I'm currently newer to MongoDB and trying to use Mongoose to Insert Records and Retrieve data, however I'm having some trouble doing so. I've searched through examples but the only answer I keep ...
0
votes
0answers
5 views

using cakephp and mongoDB, how to add subdocuments to a document already saved?

good afternoon, how can I add subdocuments to a saved document? I'm trying this: public function salvar($name,$size,$id){ $susp = array( "_id" => $id, "images"=> array( ...
0
votes
0answers
3 views

mongodb Queries: How to get nested Data on a Spark/Freemarker page?

This may be a bit more complicated than it needs to be, but I am using: mongoDB Spark Freemarker java I cannot figure out how to access embedded data in mongodb to print on the website. I want to ...
23
votes
4answers
12k views
0
votes
0answers
5 views

Cannot get Mongodb started on CentOS 6.4

I installed the following 2 packages on my CentOS 6.4 machine: 1) mongo-10gen-2.2.3 2) mongo-10gen-server-2.2.3 I then rebooted my machine. I ran the following command as root to see if Mongodb was ...
0
votes
0answers
7 views

UniqueIdentifier format when indexing with mongorive in ElasticSearch

I am a .Net developer using elasticsearch with mongo river. I am able to index mongodb collection successfully. But the issue I am facing is that all the UniqueIdentifiers in my mongodb are .Net ...
0
votes
0answers
8 views

How does Grails MongoDB plugin handle polymorphism?

I have an object like the following: class User { static mapWith="mongo" static embedded = [ 'profiles' ] String email List<Profile> profiles; } interface Profile { } class ...
1
vote
1answer
24 views

mongo : get one attribute from a

in mongo shell or PHP how do I retreive the "list" attribute of this document ? { "_id" : ObjectId("51b972ebe4b075a9690bbc5b"), "list" : [ "Environnement", "Toutes thématiques", "Transports"] } ...
0
votes
0answers
3 views

MongoDB Indexing for a Mongo-Hadoop MapReduce query

I've made a set of custom jars utilising the mongo-hadoop connector (latest version) to do some analytics. My problem is that when I enable splitting (pretty important for map/reduce) the whole ...
0
votes
0answers
6 views

Storing and retrieving images from MongoDB together with JSON response using Monogoose and Express?

This example shows how to save and image and later retrieve it via res.contentType and res.send. In my case I am already return JSON object via res.send. But I also need to render images. How could I ...
0
votes
1answer
8 views

searching an array deep inside a mongo document

in my mongo collection called pixels, I have documents like the sample I'm looking for a way to search in the actions.tags part of the documents? db.pixelsactifs.actions.find({tags:{$in : ...
0
votes
0answers
7 views

Rails&MongoDB Aggregation Framework

I'm having trouble understanding how to use the aggregation framework in rails. I understand that I can use it via terminal, but I really don't get how to query the database and get something usable ...
0
votes
1answer
43 views

Spring-Data does not find IndexFields for Indices created via MongoDB shell

we are using Spring-Data-Mongo to access our MongoDB from a Java application. In general everything works fine but I encountered one odd behavior. When initializing our Repositories in the Java code ...

1 2 3 4 5 1156
15 30 50 per page