summaryrefslogtreecommitdiffstats
path: root/schema/scholar_fulltext.v01.json
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-05-21 11:50:45 -0700
committerBryan Newbold <bnewbold@archive.org>2020-05-21 11:50:45 -0700
commit13c956969e88f3f740e81d98a275fc63833b9e24 (patch)
treeaad7f4f15e94f56f817277f67116ae8b08b89674 /schema/scholar_fulltext.v01.json
parent4cb49d000d7f6c880995ddd5fc2d4b142e7c4f7e (diff)
downloadfatcat-scholar-13c956969e88f3f740e81d98a275fc63833b9e24.tar.gz
fatcat-scholar-13c956969e88f3f740e81d98a275fc63833b9e24.zip
abstracts as object, not nested, until query parser
Diffstat (limited to 'schema/scholar_fulltext.v01.json')
-rw-r--r--schema/scholar_fulltext.v01.json8
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" },