summaryrefslogtreecommitdiffstats
path: root/search-data-service-app/src/test/resources/json/nested-document.json
diff options
context:
space:
mode:
Diffstat (limited to 'search-data-service-app/src/test/resources/json/nested-document.json')
-rw-r--r--search-data-service-app/src/test/resources/json/nested-document.json49
1 files changed, 49 insertions, 0 deletions
diff --git a/search-data-service-app/src/test/resources/json/nested-document.json b/search-data-service-app/src/test/resources/json/nested-document.json
new file mode 100644
index 0000000..8373a6d
--- /dev/null
+++ b/search-data-service-app/src/test/resources/json/nested-document.json
@@ -0,0 +1,49 @@
+{
+ "fields": [
+ {
+ "name": "serverName",
+ "data-type": "string",
+ "searchable": true,
+ "search-analyzer": "whitespace",
+ "sub-fields": []
+ },
+ {
+ "name": "serverComplex",
+ "data-type": "string",
+ "search-analyzer": "whitespace",
+ "sub-fields": []
+ },
+ {
+ "name": "address",
+ "data-type": "nested",
+ "sub-fields": [
+ {
+ "name": "street",
+ "data-type": "string",
+ "sub-fields": []
+ },
+ {
+ "name": "city",
+ "data-type": "string",
+ "sub-fields": []
+ },
+ {
+ "name": "phone-numbers",
+ "data-type": "nested",
+ "sub-fields": [
+ {
+ "name": "home",
+ "data-type": "string",
+ "sub-fields": []
+ },
+ {
+ "name": "cell",
+ "data-type": "string",
+ "sub-fields": []
+ }
+ ]
+ }
+ ]
+ }
+ ]
+}