Skip to main content

All Questions

Tagged with
0 votes
0 answers
141 views

Initializing RAG using vectorstore without duplicates

I am creating a small application using spring-ai with mongodb-atlas (local docker container) to store the RAG data. I want to "seed" the mongoDB with some content on the service start. The ...
Patrick Cornelissen's user avatar
1 vote
0 answers
196 views

Why is MongoDB Atlas Vector Store not returning records when doing a similarity search while running locally?

I am working on a simple RAG using Spring AI and my MQTT server project available here. I swear I had it working once but I didn't commit and now it isn't working again. Basically I think this issue ...
Jackie's user avatar
  • 23.7k
0 votes
0 answers
73 views

MongoDB Updates with Aggregation Pipeline Java Sync Driver

SO... I am trying to write a single query to update and return multiple documents stored in an Atlas MongoDB ReplicaSet. Mongo version 7 and Java Sync Driver version 4.11.1 to build and execute the ...
Lane's user avatar
  • 705
0 votes
1 answer
2k views

SpringBoot + MongoDB "Cannot resolve reference to bean 'mongoTemplate' while setting bean property 'mongoOperations'"

I am new to Spring Boot, following tutorials to create a simple restAPI using MongoDB, and I keep encountering this same error " Cannot resolve reference to bean 'mongoTemplate' while setting ...
nohgo's user avatar
  • 1
0 votes
0 answers
100 views

mongo atlas connection to AWS ECS

I have a Java API that uses Mongo Atlas but locally it works but when it goes to the cloud in the AWS ECS I get these errors: Caused by: javax.net.ssl.SSLException: Received fatal alert: ...
igor castro's user avatar
2 votes
2 answers
3k views

NoClassDefFoundError while trying to connect Java to Mongodb Atlas

I'm trying to connect to MongoDB atlas using Java and I'm getting the following error: Exception in thread "main" java.lang.NoClassDefFoundError: com/mongodb/internal/connection/...
kushagra kartik's user avatar
0 votes
2 answers
2k views

Throwing an error when Spring boot application tries to connect with mongodb atlas cluster

Spring boot application throwing exception while connecting to mongodb atlas I'm trying to connect spring boot application with a mongodb cluster and I'm facing the following issue while starting the ...
user avatar
0 votes
1 answer
568 views

MongoDB Atlas connections time out

I have a Spring Boot service deployed on AWS ECS. The service offers a REST API for clients and stores its data on a MongoDB Atlas M2 cluster (Replica Set - 3 nodes). Recently, I noticed some strange ...
IggyBlob's user avatar
  • 422
1 vote
0 answers
68 views

MongoDB Autocomplete index doesn't get result

I have a collection which name called 'airport' and i have Atlas Auto Complete index you can see JSON config below. { "mappings": { "dynamic": false, "fields": {...
Ulaş MÜEZZİNOĞLU's user avatar
0 votes
2 answers
2k views

okhttp not sending header on post request

I am trying to send a simple post request to MongoDB using okhttp. Here is the code that I am working with: try { String jsonStr = om.writeValueAsString(postRequest); ...
Syed Ali's user avatar
  • 1,907
0 votes
1 answer
1k views

QueryExceededMemoryLimitNoDiskUseAllowed with MogoDB Atlas

I've developed a java application that uses an Atlas MongoDB Serverless DB. This application performs an Aggregation query with the following steps: $match $project $addFields $sort $facet $project ...
Luca Riccitelli's user avatar
1 vote
0 answers
467 views

Perform YCSB benchmark on MongoDB atlas

I would like to measure the performance of MongoDb Atlas with the YCSB benchmark. For testing, I first performed the benchmark on ubuntu on a localhost mongo db instance, which works fine, so the ...
ruebe99's user avatar
  • 11
0 votes
2 answers
731 views

I cannot connect to mongo db atlas using spring boot

I have a spring microservice application linked with mongodb atlas database, yesterday my project works fine but today I'm getting this error 2022-11-24 00:29:33.267 INFO 5588 --- [ngodb.net:27017] ...
oussama dariaoui's user avatar
0 votes
1 answer
197 views

Is there a way to make MongoDB Atlas Cloud DB work like a Realtime Database?

I am making an Android Java Application which requires following features; Required Features for the Application Messaging between 2 users or multiple users that include; Text messaging, Voice ...
Hammad's user avatar
  • 33
1 vote
2 answers
2k views

Spring Boot connect to Atlas MongoDB issue

I am trying to connect my Atlas MongoDB instance from Spring Boot using the following properties: spring.data.mongodb.uri=mongodb+srv://<usr>:<pass>@<my-cluster-prefix>.gkyoqkx....
Vit Ias's user avatar
  • 803

15 30 50 per page