Created
December 21, 2023 20:17
-
-
Save julie-mills/de6413d54fb1e870bbb91765e3ebab9a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PUT my-index-000001 | |
{ | |
"mappings": { | |
"properties": { | |
"post_id": { | |
"type": "keyword" | |
}, | |
"post_id": { | |
"type": "join", | |
"relations": { | |
"post": "comment" | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment