tigris
tigris copied to clipboard
Disable search usage for queries on collections
Once secondary indexes are enabled, we need to have a way to disable search usage.
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