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

Slow on specific Query #1

Open
ryanhuntward opened this issue Sep 24, 2024 · 1 comment
Open

Slow on specific Query #1

ryanhuntward opened this issue Sep 24, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@ryanhuntward
Copy link

ryanhuntward commented Sep 24, 2024

I got this specific couchdb query which is pretty slow:

{
  "selector": {
    "$or": [
      { "type": "ship", "status": "hunting", "target": { "$regex": "whale" } },
      { "random_field": { "$gt": null } }
    ]
  },
  "fields": ["_id", "name", "location", "captain"],
  "limit": 10
}
@ryanhuntward ryanhuntward added the bug Something isn't working label Sep 24, 2024
@wingsuitist
Copy link
Owner

I fixed it for you and built a new image version here:
docker.io/apaches/couchdb:3.3.3-patched

I'll create a merge request after some more testing, but this image should work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants