You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My JSON data has a property called 'body' which could be an object containing 'value' e.g { "value": "foo" } or could also be within in an array e.g [{ "value": "foo" }] and I would like to generate snippets for "value".
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I am struggling to get snippet_fields working for a schema such as:
My JSON data has a property called 'body' which could be an object containing 'value' e.g { "value": "foo" } or could also be within in an array e.g [{ "value": "foo" }] and I would like to generate snippets for "value".
If I do something like:
http 'http://localhost:7280/api/v1/foobar/search' query='body.value:foo' snippet_fields='body.value'
It generates a 500 response:
{ "message": "internal error:
The field does not exist: 'body.value'"}
I am not sure how to handle this within the dynamic schema.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions