diff options
author | Bryan Newbold <bnewbold@archive.org> | 2020-07-21 13:47:07 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2020-07-21 13:47:11 -0700 |
commit | f6db34857ea6e09d60f9d085cead3f045d171b84 (patch) | |
tree | d229ce31a68475e0b25b668a8a92755ae23766b8 | |
parent | 5819da753c7b2c5efcd05b8c441bb3282ad30a0f (diff) | |
download | fatcat-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.
-rw-r--r-- | schema/scholar_fulltext.v01.json | 2 |
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" }, |