TLDR Thomas asked about unindexed, stored fields. Jason explained that unindexed fields can be stored and returned if the document is a match. Andrew added a limitation about nested fields.
Yup, you can just leave fields out of the schema definition when creating the collection, and then send any additional fields when importing documents
Only fields mentioned in the schema are indexed in memory. Others are stored on disk and returned if the document is a match
Also, these additional non-indexed fields can be nested btw if needed
Only indexed fields have the nested limitation
Perfect!!
There's one thing I'd like to add if you're planning to have nested fields: the include/exclude feature only works on the top level, so if you have "data" : { "small": "foo", "big": "bar bar"} you can include or exclude "data" but not "data.small" or "data.big". This causes us a few problems, so I wanted to mention iz
(other than that, we totally love typesense!)
Thanks for the warning!
We love it too, superb!
Thomas
Wed, 23 Feb 2022 17:19:33 UTCIs it possible to have document fields that aren't indexed, but still stored on typesense?