Non-Indexable Fields Enforced as Optional: Reasoning and Revisions
TLDR Sai asked about the enforcement of non-indexable fields being optional. Kishore Nallan informed them of the unclear historical basis and requested they create a tracking issue on GitHub for investigation.
Sep 14, 2022 (15 months ago)
Sai
11:46 AMKishore Nallan
11:48 AMSai
11:50 AMKishore Nallan
11:52 AMSai
11:55 AMThank you.
Typesense
Indexed 3015 threads (79% resolved)
Similar Threads
Issues with Non-Indexed Required Fields and Nested Fields Schemas
Dima questioned why non-indexed fields can't be required and disabled auto-schema for nested fields. Kishore Nallan acknowledged both as potential fixes and asked user to create issues.
Handling Index and Optional Properties in Collections
Narayan questioned about disallowed sorting on an optional field. Kishore Nallan explained that the issue arises when the field is marked index: false. They clarified that a field set to index: false must be optional: true.
Handling Empty Fields and their Indexing
Eshwar asked about operators for EMPTY and NOT EMPTY conditions. Kishore Nallan clarified that empty values aren't indexed and suggested workarounds.