Slackbot
09/13/2023, 8:09 PMJason Bosco
09/13/2023, 8:59 PMIs it possible to define the fields that need to be indexed of a nested object without flatting the object?Yup, this is possible
Jason Bosco
09/13/2023, 9:01 PM{ nested: { fieldA: { fieldA1: value, fieldA2: value } } }
You can index just fieldA1 by specifying this in the schema:
{ name: nested.fieldA.fieldA1, type: string }Taj English
09/13/2023, 9:02 PMJason Bosco
09/13/2023, 9:03 PMJason Bosco
09/13/2023, 9:03 PMTaj English
09/13/2023, 9:04 PMTaj English
09/13/2023, 9:40 PMJason Bosco
09/13/2023, 10:37 PMJason Bosco
09/13/2023, 11:27 PMTaj English
09/14/2023, 12:39 AM