149 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
3
votes
1
answer
98
views
Django Mongodb Backend not creating collections and indexes
Summary
Running Django migrations against our MongoDB database does not create MongoDB collections or indexes as defined in our app. The command completes without errors, but no collections or indexes ...
0
votes
1
answer
46
views
$search with searchBefore returns the same direction as searchAfter
We have this query:
[
{
$search: {
index: "search-index",
text: { query: "20", path: "name" },
sort: { score: { order: -1 }, _id: 1 },
...
1
vote
2
answers
76
views
Mongodb/atlas search with punctuation signals
I am a new developer working with MongoDb Atlas, I am currently working on text searches over a collection with news texts. In this phase I am building the pipelines for those searches, so working ...
0
votes
1
answer
115
views
MongoDB "PlanExecutor error during aggregation :: caused by :: service temporarily unavailable" when trying to list search indexes on a collection
I started getting this error recently.
PlanExecutor error during aggregation :: caused by :: service temporarily unavailable
It seems to happen randomly when my application is trying to use an ...
0
votes
1
answer
206
views
mongoDB $lookup with $search pipeline
I have two collections:
store_group collection:
{"_id": ObjectId("674fe7cc4e65df54a0db23b5"),
"stores": [
{"id": 101, "name":"abc&...
0
votes
1
answer
80
views
Filter by ObjectId with equals operator in $search pipeline stage does not work
I use Prisma ORM in a Next.js environment, and I want to search a database collection but restrict the search to the scope of data created by a specific user.
I used MongoDB Atlas Search with the $...
-1
votes
1
answer
88
views
Atlas Search across Enbedded Document and Root Document fields using Compound/Must
How do I perform a "Compound/Must" across EnbeddedDocument and RootDocument fields?
Ive create a playground for this issue im facing
https://search-playground.mongodb.com/tools/code-playground/...
0
votes
1
answer
89
views
How to use Atlas Search Compound "Must" aggregation to seach Root Document fields AND EmbeddedDocument fields
I have the below document
{
"_id": "101",
"PublisherName": "Big book publishers",
"PublisherAddress": "123 Mian Street",
&...
0
votes
1
answer
134
views
How to search embeddedDocuments fields and Root Document fields using Atlas Search
I have the following document in my collection
{
"_id": "101",
"PublisherName": "Big book publishers",
"Books": [
{
&...
0
votes
1
answer
324
views
Facet Atlas Search returning the $$SEARCH_META using C# MongoDB.Driver
I would like to do a Facet Search that returns the "$$SEARCH_META" based on the documentation (https://www.mongodb.com/docs/atlas/atlas-search/facet/). A snippet of the search definition ...
0
votes
1
answer
40
views
Atlas Search using Milti Analyzer C#
I would like to seach using a wildcard serch term (eg "This i*") on the field "Description" which has a "lucene.keyword" analyzer defined using multi analyser. I have the ...
0
votes
0
answers
315
views
How to Improve Performance of MongoDB Aggregation Pipeline with Atlas Search and Grouping?
I'm using MongoDB Atlas Search index across multiple fields in my collection. I've created an aggregation pipeline with two stages: the first stage performs a keyword search using Atlas Search, and ...
0
votes
1
answer
69
views
java.lang.IllegalStateException: should be impossible for sortable string fields to be present in embedded documents
I have created an index in Atlas Search like that:
{
"mappings": {
"dynamic": false,
"fields": {
"_id": {
"type": "...
0
votes
0
answers
213
views
Why does the $search aggregation make every other step so much slower? (v7.0.11)
I was experimenting with Atlas Search in MongoDB and I found a strange behavior.
Consider a collection of 100000 documents that look like this:
{
_id: "1",
description: "Lorem Ipsum&...
2
votes
0
answers
162
views
My MongoDB change stream stops receiving events after my atlas custer restarts with new Primary
My debugging Steps:
Added a cron (every 5 min) job that inserts (key : watchID val : "randomString") a document into the collection which has an watch applied on it.
Then listened for the ...