Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Azure Cosmos DB for MongoDB: Unrecognized pipeline stage name: $listSearchIndexes #716

Closed
aitrailblazer opened this issue Jul 23, 2024 · 2 comments
Labels
bug Something isn't working triage

Comments

@aitrailblazer
Copy link

Context / Scenario

Configured with:
Azure Cosmos DB for MongoDB (vCore)

Quick Start:
Command line (bash, curl)
https://microsoft.github.io/kernel-memory/quickstart/bash
cd tools
./upload-file.sh -f README.md -i doc01 -s http://127.0.0.1:9001

What happened?

Command aggregate failed: Unrecognized pipeline stage name: $listSearchIndexes.

Importance

I cannot use Kernel Memory

Platform, Language, Versions

macOS

Relevant log output

./upload-file.sh -f README.md -i doc01 -s http://127.0.0.1:9001
+ eval curl -v -F ''\''file1=@"README.md"'\''' -F ''\''index=""'\''' -F ''\''documentId="doc01"'\''' -F ''\''tags=""'\''' http://127.0.0.1:9001/upload
++ curl -v -F 'file1=@"README.md"' -F 'index=""' -F 'documentId="doc01"' -F 'tags=""' http://127.0.0.1:9001/upload
*   Trying 127.0.0.1:9001...
* Connected to 127.0.0.1 (127.0.0.1) port 9001
> POST /upload HTTP/1.1
> Host: 127.0.0.1:9001
> User-Agent: curl/8.6.0
> Accept: */*
> Content-Length: 2785
> Content-Type: multipart/form-data; boundary=------------------------bcLfKkbydiGUxY0Bf5kl0Q
>
* We are completely uploaded and fine
< HTTP/1.1 503 Service Unavailable
< Content-Type: application/problem+json
< Date: Tue, 23 Jul 2024 05:56:49 GMT
< Server: Kestrel
< Transfer-Encoding: chunked
<
* Leftovers after chunking: 11 bytes
* Connection #0 to host 127.0.0.1 left intact
{"type":"https://tools.ietf.org/html/rfc9110#section-15.6.4","title":"Document upload failed","status":503,"detail":"Command aggregate failed: Unrecognized pipeline stage name: $listSearchIndexes.
@aitrailblazer aitrailblazer added bug Something isn't working triage labels Jul 23, 2024
@aitrailblazer aitrailblazer changed the title [Bug] [Bug] Azure Cosmos DB for MongoDB: Unrecognized pipeline stage name: $listSearchIndexes Jul 23, 2024
@dluc
Copy link
Collaborator

dluc commented Jul 27, 2024

Did you run the code using the extension under development here #329 or the MongoDBAtlas connector?

Note that MongoDbAtlas and Azure Cosmos DB for MongoDB are not the same product, and the MongoDBAtlas connector doesn't work with the Azure variant.

@aitrailblazer
Copy link
Author

Everything related is not production ready. I switched to AI Search and it's working fine

@dluc dluc closed this as completed Aug 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage
Projects
None yet
Development

No branches or pull requests

2 participants