Created
May 5, 2020 08:54
-
-
Save xeraa/838edf5413dfbc62abfbf88971664b18 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 test | |
{ | |
"mappings": { | |
"properties": { | |
"linked_ent": { | |
"type": "nested", | |
"properties": { | |
"score": { | |
"type": "float" | |
} | |
} | |
} | |
} | |
} | |
} | |
PUT test/_doc/1 | |
{ | |
"linked_ent": { | |
"score": 1 | |
} | |
} | |
GET test/_search |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment