contrain element defined, need to determine where to put it on insert
This commit is contained in:
parent
38ac338637
commit
2555e14b74
10
templates/insert_constraint.json
Normal file
10
templates/insert_constraint.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"unique_constraint": {
|
||||||
|
"{doc,origin_addresses}": [
|
||||||
|
"Washington, DC, USA"
|
||||||
|
],
|
||||||
|
"{doc,destination_addresses}": [
|
||||||
|
"New York, NY, USA"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user