#community-help

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.

Powered by Struct AI
4
3mo
Solved
Join the chat
Jun 27, 2023 (3 months ago)
Dima
Photo of md5-1b62114a658b760944aa7d2b4c274460
Dima
02:30 PM
Hi team! Quick question: If I want to store object field with index: false I still need to use enable_nested_fields?
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
02:59 PM
All fields are automatically stored. No need to even send index: false
Dima
Photo of md5-1b62114a658b760944aa7d2b4c274460
Dima
03:58 PM
So just add object-type field to the document without mentioning it in the schema?
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
04:16 PM
Yes