Slackbot
09/26/2023, 3:25 PMJack Wilsdon
09/26/2023, 3:26 PM{
"name": "things",
"enable_nested_fields": true,
"fields": [
{
"name": "tags.value",
"type": "string[]",
"optional": true
}
]
}Jason Bosco
09/26/2023, 3:33 PMhighlight.field for a display value and fall back to document.field if it's not presentJack Wilsdon
09/26/2023, 3:34 PMkey field (non-indexed) from the document then (using the positional index of the tag in the highlight data).Jason Bosco
09/26/2023, 3:34 PMJack Wilsdon
09/26/2023, 3:34 PMJason Bosco
09/26/2023, 3:34 PMJack Wilsdon
09/26/2023, 3:35 PMJason Bosco
09/26/2023, 3:35 PMquery_by which could be a subset of the indexed fieldsJack Wilsdon
09/26/2023, 3:35 PMtags.value in my query_by to just tags makes it return the key! Is this expected (even though key isn't indexed) or should I not depend on this behaviour?Jason Bosco
09/26/2023, 3:36 PMJason Bosco
09/26/2023, 3:37 PMJack Wilsdon
09/26/2023, 3:37 PMtags to tags.value at some point in my query_by. The only indexed field in tags is value anyway, so I will switch it back to tags. Appreciated!