Storing Object Field in Document Schema
TLDR Dima asked if enable_nested_fields
is needed to store object fields with index: false
. Kishore Nallan clarified no special settings were needed and the object-type field only needs to be added to the document.
Jun 27, 2023 (3 months ago)
Dima
02:30 PMobject
field with index: false
I still need to use enable_nested_fields
?Kishore Nallan
02:59 PMDima
03:58 PMKishore Nallan
04:16 PMTypesense
Indexed 2764 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.

Defining fields to index of a nested object without flattening
Taj asked how to index fields of a nested object without flattening. Jason clarified this is possible and the object need not be in the schema. To clarify things further, Jason updated the docs.



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.