[CSHARP-4893] Unable to create Vector search index via MongoDB driver Created: 26/Dec/23 Updated: 31/Jan/24 Resolved: 31/Jan/24 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | Index Management |
| Affects Version/s: | 2.23.1 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Blocker - P1 |
| Reporter: | VenkateshSrini N/A | Assignee: | Boris Dogadov |
| Resolution: | Gone away | Votes: | 0 |
| Labels: | Bug | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Description |
SummaryI use the following code to create my collection and search index on the fly.
When I run the code I get the below exception. I'm also attaching the code file for your reference CandiesRepo.cs
Please provide the version of the driver. If applicable, please provide the MongoDB server version and topology (standalone, replica set, or sharded cluster).MongoDB Driver version: 2.23.1 MongoDB server version: 6.0.3 MongoDB Topolgy : standalone (installed in Kubernetes on Docker Desktop) How to Reproduce
1) Install Mongo DB from https://charts.bitnami.com/bitnami on your Kubernetes cluster 2) Port-forward the same and check the access from Mongo Shell or Mongo Compass 3) On success of above step, Take the attached code and create appropriate mongo URL and mongo client and invoke the same with attached code. Alternatively use the provided code in console app and try Additional BackgroundPlease provide any additional background information that may be helpful in diagnosing the bug. |
| Comments |
| Comment by PM Bot [ 31/Jan/24 ] | ||||||||||||||||||||||||||||||||||||||||||||
|
There hasn't been any recent activity on this ticket, so we're resolving it. Thanks for reaching out! Please feel free to reopen this ticket if you're still experiencing the issue, and add a comment if you're able to provide more information. | ||||||||||||||||||||||||||||||||||||||||||||
| Comment by PM Bot [ 23/Jan/24 ] | ||||||||||||||||||||||||||||||||||||||||||||
|
Hi venkateshsrini3@gmail.com! If this is still an issue for you, please open Jira to review the latest status and provide your feedback. Thanks! | ||||||||||||||||||||||||||||||||||||||||||||
| Comment by Boris Dogadov [ 15/Jan/24 ] | ||||||||||||||||||||||||||||||||||||||||||||
|
Hi, here are some support resources:
Thank you! | ||||||||||||||||||||||||||||||||||||||||||||
| Comment by VenkateshSrini N/A [ 14/Jan/24 ] | ||||||||||||||||||||||||||||||||||||||||||||
|
I tried the Atlas installation on local as awell as docker using WSL . I get this error Creating your cluster local1320 [this might take several minutes] I understand that C# driver team, cannot help me with this. Can you please point me to a place where I can raise this issue so that some one can help | ||||||||||||||||||||||||||||||||||||||||||||
| Comment by VenkateshSrini N/A [ 11/Jan/24 ] | ||||||||||||||||||||||||||||||||||||||||||||
|
Give me a few more days. I will try to see if the Atlas cloud deployment supports this feature. If this is supported and still a C# driver issue then we can continue on this thread. Is there way you can put this in hibernation mode. | ||||||||||||||||||||||||||||||||||||||||||||
| Comment by Boris Dogadov [ 10/Jan/24 ] | ||||||||||||||||||||||||||||||||||||||||||||
|
Hi venkateshsrini3@gmail.com , We as a C# driver team will not be able to help with server deployments. I'll be closing this ticket as C# Driver seems to work as expected here. Thanks. | ||||||||||||||||||||||||||||||||||||||||||||
| Comment by VenkateshSrini N/A [ 10/Jan/24 ] | ||||||||||||||||||||||||||||||||||||||||||||
|
Is there an Atlas local deployment that I can do on Kubernetes. I use windows Laptop with Docker Desktop. I can easily get it working. When I try to install atlas local deployment I get an error message Local deployments are not supported on this OS, to see local deployments requirements visit https://www.mongodb.com/docs/atlas/cli/stable/atlas-cli-deploy-local/. | ||||||||||||||||||||||||||||||||||||||||||||
| Comment by Boris Dogadov [ 09/Jan/24 ] | ||||||||||||||||||||||||||||||||||||||||||||
|
This server-side error indicates that Atlas search functionality not available on your current setup. If there still is a suspicion that this is purely a C# Driver issue, providing createSearchIndexes command that works in MongoDB Shell, and the Atlas cluster version will allow us to investigate further. | ||||||||||||||||||||||||||||||||||||||||||||
| Comment by VenkateshSrini N/A [ 09/Jan/24 ] | ||||||||||||||||||||||||||||||||||||||||||||
|
I have tried it after creating a database in cluster. I get this error message
| ||||||||||||||||||||||||||||||||||||||||||||
| Comment by VenkateshSrini N/A [ 05/Jan/24 ] | ||||||||||||||||||||||||||||||||||||||||||||
|
boris.dogadov@mongodb.com please give me a day. I'm on windows laptop and need to get the operator running on my docker. I will try this over the weekend or next week and revert | ||||||||||||||||||||||||||||||||||||||||||||
| Comment by Boris Dogadov [ 04/Jan/24 ] | ||||||||||||||||||||||||||||||||||||||||||||
|
This error is an expected server side error (not related to C# driver) as local mongodb deployments do not contain search feature. Vector search is part of Atlas Search, which was only available on cloud Atlas deployments until a recent public preview of local Atlas was announced. Thanks. | ||||||||||||||||||||||||||||||||||||||||||||
| Comment by VenkateshSrini N/A [ 04/Jan/24 ] | ||||||||||||||||||||||||||||||||||||||||||||
|
I have tried the same with 7.0.4 release candidate version also and it is not working. The exact image version in the docker is
| ||||||||||||||||||||||||||||||||||||||||||||
| Comment by PM Bot [ 26/Dec/23 ] | ||||||||||||||||||||||||||||||||||||||||||||
|
Hi venkateshsrini3@gmail.com, thank you for reporting this issue! The team will look into it and get back to you soon. |