Questions tagged [mongodb-atlas-search]

MongoDB Atlas Search is a cloud product based on Apache Lucene which allows relevance based search for MongoDB Atlas users.

131 questions
0
votes
1 answer

Mongodb Atlas "Got Socket exception on Connection To Cluster"

I'm using Java & Springboot and MongoDB Atlas and created a database which response to many Object's CURD When I do the post on uploadingImage, I got this error Got Socket exception on Connection [connectionId{localValue:4, serverValue:114406}] to…
0
votes
0 answers

"Remote error from mongot :: caused by :: \"path\" is required (from \"wildcard\")" - Error in mongodb Atlas Search (Java Driver)

I'm getting the following when trying to do a MongoDB Atlas Search query using mongodb Java driver, I'm using the java driver 4.1. exception in thread "main" com.mongodb.MongoCommandException: Command failed with error 8 (UnknownError): 'Remote…
dushansilva
  • 179
  • 1
  • 8
0
votes
1 answer

Aggregate search function errors when executed

I'm clearly not understanding the aggregate function in mongoose. I'm trying to query the productCode field and return all of the products. The code below returns the error; Product.aggregate(...).search is not a function. What am I doing wrong…
bp123
  • 3,217
  • 8
  • 35
  • 74
0
votes
2 answers

Custom search using Mongodb

I have a MongoDB as my database and the backend is written in node.js. I am trying to implement a search for a table which returns me all results with the string entered AND string matching. For example searching "foo" will return (In that…
user1152262
  • 61
  • 1
  • 10
0
votes
1 answer

MongoDB 3.6 autocomplete failed "Command failed with error 40324"

I used the basic autocomplete example provided by MongoDB. Unfortunately, it's causing an exception on the server-side db.movies.aggregate([ { $search: { "autocomplete": { "path": "title", "query": "off" } …
Donutloop
  • 427
  • 3
  • 15
0
votes
1 answer

MongoDB's aggregate $search is not pulling any results

So I am working on an express/mongoose/mongoDB app that requires users to query the database to find other users based upon 3 fields but for some reason, none of the documents I have made for testing purposes are being pulled as a result. Even when…
0
votes
0 answers

How many applications can be connected to one MongoDB atlas cluster?

Sorry if this question is stupid but I can't seem to find a straight answer to it anywhere. Also, if it is one application or more that one application, why?
0
votes
1 answer

What is the correct way to format regex metacharacters and options when using the regex operator in $searchBeta in MongoDB?

I'm trying to do full-text search in MongoDB with $searchBeta (aggregation) and I'm using the 'regex' operator to do so. Here's the portion of the $searchBeta I have that isn't working how I expecting it would: $searchBeta: { regex: { …
chataolauj
  • 99
  • 1
  • 15
0
votes
2 answers

How does 'fuzzy' work in MongoDB's $searchBeta stage of aggregation?

I'm not quite understanding how fuzzy works in the $searchBeta stage of aggregation. I'm not getting the desired result that I want when I'm trying to implement full-text search on my backend. Full text search for MongoDB was released last year…
chataolauj
  • 99
  • 1
  • 15
0
votes
1 answer

MongoDB Atlas Full-Text Search

Does MongoDB Atlas Full-Text Search support following: Autocomplete like in Elasticsearch (edge_ngram tokenizer): Following query: GET /my_index/my_type/_search { "query": { "match": { "name": "brown…
serpentina
  • 33
  • 8
-1
votes
1 answer

How to create a collection specific search index in Atlas mongoDB?

I am trying to create a collection specific search index in the atlas MongoDB but not able to find a way. Found this documentation: https://docs.atlas.mongodb.com/reference/api/atlas-search/#atlas-search-api-ref but the API they mentioned will…
Vikas Rathore
  • 8,242
  • 8
  • 35
  • 54
1 2 3
8
9