MongoDB Atlas Search is a cloud product based on Apache Lucene which allows relevance based search for MongoDB Atlas users.
Questions tagged [mongodb-atlas-search]
131 questions
1
vote
1 answer
MongoDb Atlas Full text search index rebuilding without downtime
I'm looking for the best approach for making changes (adding new fields) to a production setup full-text search index (added in 4.2) without having any downtime and affecting my clients.

Avner Levy
- 6,601
- 9
- 53
- 92
1
vote
1 answer
How can i combine $searchbeta and geo search in mongodb atlas
my team migrate data to mongodb atlas.
I have a question.
How can i combine $searchbeta and geo search in mongodb atlas.

David Dev
- 53
- 4
0
votes
0 answers
Pymongo: Wait till every document is indexed
So guys,
I will try to make this as simple as possible:
Object:
...
status: str [open, close]
Flow:
1 - create object on mongo [status=open]
2 - update object on mongo [status=close]
3 - fetch object from mongo using find [filter status = open…
0
votes
1 answer
Is `MongoDBAtlasVectorSearch` built upon `FAISS` algorithm?
I am using langchain for building softwares for pdf document reading and question-answering. While working on it, I have to build vector embeddings for the texts in the document. But while working on it, I have come across multiple platforms such as…

Shuhul Handoo
- 122
- 8
0
votes
0 answers
MongoDB full text search, autocomplete on multiple fields to search a number
I have a data collection like
{ type: "customer", customer: { name: "Adam", mobile_number: "+919988776655" } } ,
and i am trying to use this query like reference from previously asked question here: MongoDB full text search, autocomplete on two…

Vishal Bansal
- 1
- 1
0
votes
1 answer
MongoDB Atlas Search - why searching `Cameron Bri` returns the same search score for `Cameron Brink` and `Cameron Boozer`
Here is our MongoDB Atlas Search index definition:
{
"mappings": {
"dynamic": true,
"fields": {
"label": {
"maxGrams": 7,
"tokenization": "nGram",
"type": "autocomplete"
},
"ptgc": {
…

Canovice
- 9,012
- 22
- 93
- 211
0
votes
1 answer
Error "DocValuesField appears more than once" encountered while creating a dynamic index for MongoDB Atlas Search
In MongoDB Altlas, I try to use dynamic Index, but I have this error in the index creation status : "Your index could not be built: Unexpected error: DocValuesField "$type:date/claimDate" appears more than once in this document (only one value is…

MLR
- 23
- 5
0
votes
0 answers
How to troubleshoot the creation of an MongoDB Atlas Search index
I need to run some integration tests on a service using Atlas Search in MongoDB Cloud. In order to do this, I want the test to create a fresh new database with a small collection and Atlas Search index each time it is ran.
I'm creating a collection…

migueletes
- 68
- 6
0
votes
0 answers
Switching from regex to mongodb atlas-search for live search, how to improve search results
Per the recommendation of a mongodb atlas consultant, I am attempting to switch over from regex to atlas search for our application's live search feature. We have the following old and new routes for this:
old live-search approach using…

Canovice
- 9,012
- 22
- 93
- 211
0
votes
0 answers
Autocomplete using search doesnt work after 3 spaces
Here is a sample doc I am trying to search:
{
"_id": {
"$oid": "6436a6e365bb0bf723a17a21"
},
"name": "Indian Institute of Nursing ",
"city": "",
"memberCount": 0,
"state": "Karnataka"
}
My current index mapping:
{
"mappings": {
…

Arbaz Siddiqui
- 441
- 2
- 10
0
votes
0 answers
Is it possible to avoid indexed data scan for search index queries in MongoDB?
I want to perform full-text search on a field for documents in a collection. However, I don't want to search in every document in the collection. That is, before full-text searching, I want to filter out documents, and then perform the full-text…

8ctavio
- 1
- 1
- 2
0
votes
1 answer
MongoDB Atlas Search seems to ignore synonyms when using some analyzers
Say I just have one document in a collection
{
_id: ,
sound: 'Dong'
}
and a synonyms collection with only one mapping
{
mappingType: 'explicit',
input: ['Ding'],
synonyms: ['Ding', 'Dong']
}
and I want to create a…

oli
- 659
- 1
- 6
- 18
0
votes
1 answer
How can I sort by timestamp mongodb documents, using atlas search index?
I have multiple documents that have dates and timestamps really close relative to each other.
Here is the data I have:
/* 1 */
{
"startDate" : ISODate("2022-11-29T14:28:38.166Z"),
"startTimestamp" : 1669732118166,
"customerName" :…
0
votes
1 answer
MongoDB Atlas Search not showing results when typing few characters
The problem I am facing is that I want to develop an autocomplete search bar using Mean Stack like the one in this site, but when I type, for example, 'ag' it's not returning the right location that should be 'Aguascalientes'.
I have two different…

claudiomatiasrg
- 578
- 4
- 11
- 31
0
votes
0 answers
Searching in MongoDB Serverless Instances
I built an app using MongoDB and used searching functionality with indexing, and when i tried to upgrade the instance from free to Serverless Instances, its showing an error stating
Atlas Search feature is not yet supported in serverless…

Aflah vp
- 313
- 2
- 17