From 13c956969e88f3f740e81d98a275fc63833b9e24 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 21 May 2020 11:50:45 -0700 Subject: abstracts as object, not nested, until query parser --- schema/scholar_fulltext.v01.json | 8 +++----- 1 file 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" }, -- cgit v1.2.3