diff options
author | Bryan Newbold <bnewbold@archive.org> | 2020-05-21 11:50:45 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2020-05-21 11:50:45 -0700 |
commit | 13c956969e88f3f740e81d98a275fc63833b9e24 (patch) | |
tree | aad7f4f15e94f56f817277f67116ae8b08b89674 /schema | |
parent | 4cb49d000d7f6c880995ddd5fc2d4b142e7c4f7e (diff) | |
download | fatcat-scholar-13c956969e88f3f740e81d98a275fc63833b9e24.tar.gz fatcat-scholar-13c956969e88f3f740e81d98a275fc63833b9e24.zip |
abstracts as object, not nested, until query parser
Diffstat (limited to 'schema')
-rw-r--r-- | schema/scholar_fulltext.v01.json | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/schema/scholar_fulltext.v01.json b/schema/scholar_fulltext.v01.json index d4bdb2b..2f2eb58 100644 --- a/schema/scholar_fulltext.v01.json +++ b/schema/scholar_fulltext.v01.json @@ -41,7 +41,6 @@ "dynamic": false, "_source": { "excludes": [ - "abstracts_all", "fulltext.body", "fulltext.acknowledgment", "fulltext.annex", @@ -137,10 +136,10 @@ }, "abstracts": { - "type": "nested", + "type": "object", "dynamic": false, "properties": { - "body": { "type": "text", "index": true, "analyzer": "textIcu", "search_analyzer":"textIcuSearch", "copy_to": ["everything", "abstracts_all"] }, + "body": { "type": "text", "index": true, "analyzer": "textIcu", "search_analyzer":"textIcuSearch", "copy_to": ["everything"] }, "lang_code": { "type": "keyword", "normalizer": "default" } } }, @@ -194,12 +193,11 @@ "everything": { "type": "text", "index": true, "analyzer": "textIcu", "search_analyzer":"textIcuSearch" }, "biblio_all": { "type": "text", "index": true, "analyzer": "textIcu", "search_analyzer":"textIcuSearch" }, - "abstracts_all": { "type": "text", "index": true, "analyzer": "textIcu", "search_analyzer":"textIcuSearch" }, "doctype": { "type": "alias", "path": "doc_type" }, "body": { "type": "alias", "path": "fulltext.body" }, - "abstract": { "type": "alias", "path": "abstracts_all" }, + "abstract": { "type": "alias", "path": "abstracts.body" }, "acknowledgement":{ "type": "alias", "path": "fulltext.acknowledgement" }, "doi": { "type": "alias", "path": "releases.doi" }, |