Mongo Atlas Search - Look for exact substring, even across words
Desired behavior:Assuming I have two documents with these descrirption field values:The Lazy Fox Jumps OverThe Lazy Boy is my favorite pastimeand I search:Lazy FI'd like the result to be the document...
View ArticleMongodb / atlas search: Many to Many relationship with huge collections
im modeling an app where user can stamps (up to 100 000 stamps).I created the following collections:users:{"_id": {"$oid": "xxx" },"email": "test@gmail.com", ...}stamps:{"_id": {"$oid": "ccc"...
View ArticleMongoDB Atlas Search with VectorSearch and filters
Take a query like this... (shortened the query for clarity)[ {"$vectorSearch": {"index": "myVectorIndex","path": "vectors.myVectorPath","filter": {"$and": [ {"name": {"$in": ["Bill Gates"] } }, {"$or":...
View Articlemigrate materialized vues to mongo atlas
Given i have a postgreSQL database with foreign tables linked to mongo collections.And some materialized views exposing data from these foreign tablesI need to remove completely postgreSQLThe mapping...
View ArticleCan not run db.fsyncLock() in a MongoDB Atlas cluster
I've deployed a MongoDB sharded cluster in MongoDB Atlas dedicated. For some reason i am trying to run db.fsyncLock() from a secondary. But It's giving me unauthorized error. I also tried many command...
View ArticleRealm Error No Subscription for WRITE: When doing multiple subscriptions of...
I am trying to configure the realm with the help of the below function. Initially, there was only EmailAccount class after adding ApplicationAccount class while writing to EmailAccount cluster it is...
View ArticleConnect to MongoDB Atlas using Delphi Firedac Driver?
I am struggling to connect to a MongoDB Atlas database using the Firedac component. I have the MongoDB Atlas connection string but am unsure how tosetup the connection in Delphi. I note that the Data...
View ArticleError connecting MongoDB Atlas to MongoDB Compass: ECONNREFUSED...
I'm trying to connect my MongoDB Atlas cluster to MongoDB Compass using the connection string. However, when I attempt to connect, I encounter the following error: "connect ECONNREFUSED...
View Article'Authentication Failed' Error using MongoDB OIDC
I am trying to connect to a MongoDB Atlas cluster via pymongo using the MongoDB-OIDC authentication method, with Azure as the identity provider.I already setup the Azure provider and connected it to...
View ArticleHow to securely collaborate on a MongoDB Atlas database in a team project?...
I'm working on a team project where I'm handling the backend, and we're using MongoDB Atlas for our database. The issue I'm facing is with securely sharing access to the MongoDB Atlas connection...
View ArticleHow to calculate embedding vectors using the OpenAI API for MongoDB vector...
I am trying to follow the example from the official MongoDB documentation.It mentioned that the search vector was based on the string "historical heist" using the OpenAI text-embedding-ada-002 model....
View ArticleHow to solve Timeout error when connecting to mongoDB atlas? [closed]
I am having trouble connecting to the mongoDB atlas servers when connecting to the database.I have also tried increasing timeout values.from pymongo.mongo_client import MongoClientfrom...
View ArticleMongoDB atlas containers not separating from testcontainers
we are moving to mongodb atlas and I've started using the mongodb/mongodb-atlas-local container for local development, it bound to ports 27017:27017. Now I wanted to update our integration tests to use...
View ArticleHow to connect to MongoDB with certificate using DataGrip?
InformationI am trying to connect to MongoDB Atlas cluster using Datagrip as a DB client and authenticating by an Atlas managed x.509 certificate which I got when setting up a user in MongoDB Atlas...
View ArticleVercel creates new DB connection for every request
I'm working on a new website, and although things were working well as we developed locally we've run into an issue when we tried to deploy on Vercel. The app uses the Sapper framework for both the...
View ArticleMongoDB Agent Accessing Container ID Instead of localhost/127.0.0.1 in Status...
I am encountering an issue where the MongoDB agent is trying to access the MongoDB container using the container ID (5c628e85248d:27017) rather than localhost or 127.0.0.1. This is causing a failure...
View ArticleMongoServerError: command Insert is unsupported
I have a project in which I am creating a node API using express that will interface with a mongo DB atlas database and perform CRUD operation and send that data to the front endIn this part i am...
View ArticleHow to specify aggregation options (allowDiskUse:true) through Data API (over...
How to specify aggregation options (allowDiskUse:true) while making aggregation query through Data API (over REST calls) offered by MongoDB Atlas?I looked at the documentation here, but could not find...
View ArticleSpring Boot connect to Atlas MongoDB issue
I am trying to connect my Atlas MongoDB instance from Spring Boot using the following...
View ArticleGetting "'crypto' module: error signing message" when attempting to send a...
I am attempting to setup a trigger in my MongoDB cluster, that, when an object is updated, pushes out a notification to certain users. I have firebase-admin initialized properly, but am running into...
View Article