From 2555e14b7451e25d8003acc41b0b0f377421c399 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Thu, 8 Mar 2018 01:50:57 -0500 Subject: [PATCH] contrain element defined, need to determine where to put it on insert --- templates/insert_constraint.json | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 templates/insert_constraint.json diff --git a/templates/insert_constraint.json b/templates/insert_constraint.json new file mode 100644 index 0000000..4fbbe99 --- /dev/null +++ b/templates/insert_constraint.json @@ -0,0 +1,10 @@ +{ + "unique_constraint": { + "{doc,origin_addresses}": [ + "Washington, DC, USA" + ], + "{doc,destination_addresses}": [ + "New York, NY, USA" + ] + } +} \ No newline at end of file