aboutsummaryrefslogtreecommitdiffstats
path: root/schema/scholar_fulltext.v01.json
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-07-21 13:47:07 -0700
committerBryan Newbold <bnewbold@archive.org>2020-07-21 13:47:11 -0700
commitf6db34857ea6e09d60f9d085cead3f045d171b84 (patch)
treed229ce31a68475e0b25b668a8a92755ae23766b8 /schema/scholar_fulltext.v01.json
parent5819da753c7b2c5efcd05b8c441bb3282ad30a0f (diff)
downloadfatcat-scholar-f6db34857ea6e09d60f9d085cead3f045d171b84.tar.gz
fatcat-scholar-f6db34857ea6e09d60f9d085cead3f045d171b84.zip
schema: access as object (list), not nested
Nested allows more precise filter queries, but it seems that simple "dot notation" filters/queries don't work. We don't have anything doing the sophisticated queries yet, so keep it simple.
Diffstat (limited to 'schema/scholar_fulltext.v01.json')
-rw-r--r--schema/scholar_fulltext.v01.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/schema/scholar_fulltext.v01.json b/schema/scholar_fulltext.v01.json
index aa087fa..504ba06 100644
--- a/schema/scholar_fulltext.v01.json
+++ b/schema/scholar_fulltext.v01.json
@@ -195,7 +195,7 @@
},
"access": {
- "type": "nested",
+ "type": "object",
"dynamic": false,
"properties": {
"access_type": { "type": "keyword", "normalizer": "default" },