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

Impossible to find with index #8877

Open
pedefe opened this issue Mar 11, 2024 · 0 comments
Open

Impossible to find with index #8877

pedefe opened this issue Mar 11, 2024 · 0 comments

Comments

@pedefe
Copy link

pedefe commented Mar 11, 2024

Hello,
I build a simple collection with several fields like "site" (string), "zone" (string), class" (string), "timeStamp" (int), "count" (int).
I have build indexes with all combinations of fields : site, site+zone, size+class....until site+zone+class+timeStamp
Depending of my search criteria (for exemple on site and timestamp), I call .find method with the corresponding index (i.e. site+timeStamp).
So I use it with "use_index" option : name_of_index.
Error is always : "pouchdb Could not find that index or could not use that index for the query"
Any idea ?
Best regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant