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

Disable search usage for queries on collections #1018

Open
ovaistariq opened this issue Apr 11, 2023 · 1 comment
Open

Disable search usage for queries on collections #1018

ovaistariq opened this issue Apr 11, 2023 · 1 comment
Assignees

Comments

@ovaistariq
Copy link
Collaborator

Once secondary indexes are enabled, we need to have a way to disable search usage.

@garrensmith
Copy link
Contributor

I looked at removing search from our queries and then ran our test code.
Two tests fail in the documents_test.go file:

TestRead_Sorted

This fails because it expects the response to be sorted based on a non-primary key. Currently, secondary indexes do not support the sort key. We can add sort support to secondary indexes and throw an error if the sort field is not indexed.

TestFilteringOnArrays_Primitives

This fails because we cannot filter into nested fields in Tigris. We need to change our filters to look inside an array and see if the value matches

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

No branches or pull requests

2 participants