From da2e89152d882ee0ace9878c7ceba2567f8b01a1 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 6 Aug 2020 12:30:44 -0700 Subject: ES schema: copy_to titles into single title_all field --- schema/scholar_fulltext.v01.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/schema/scholar_fulltext.v01.json b/schema/scholar_fulltext.v01.json index e382fe6..aa044e7 100644 --- a/schema/scholar_fulltext.v01.json +++ b/schema/scholar_fulltext.v01.json @@ -78,11 +78,11 @@ "properties": { "release_ident": { "type": "keyword", "normalizer": "default", "doc_values": false }, "title": { - "type": "text","index": true, "analyzer": "textIcu", "search_analyzer":"textIcuSearch", "copy_to": ["biblio_all", "everything"], + "type": "text","index": true, "analyzer": "textIcu", "search_analyzer":"textIcuSearch", "copy_to": ["title_all", "biblio_all", "everything"], "fields": {"exact": { "type": "text", "analyzer": "textIcuExact", "search_analyzer": "textIcuSearchExact" }} }, - "subtitle": { "type": "text", "index": true, "analyzer": "textIcu", "search_analyzer":"textIcuSearch", "copy_to": ["biblio_all", "everything"] }, - "original_title": { "type": "text", "index": true, "analyzer": "textIcu", "search_analyzer":"textIcuSearch", "copy_to": ["biblio_all", "everything"] }, + "subtitle": { "type": "text", "index": true, "analyzer": "textIcu", "search_analyzer":"textIcuSearch", "copy_to": ["title_all", "biblio_all", "everything"] }, + "original_title": { "type": "text", "index": true, "analyzer": "textIcu", "search_analyzer":"textIcuSearch", "copy_to": ["title_all", "biblio_all", "everything"] }, "release_date": { "type": "date" }, "release_year": { "type": "integer", "copy_to": ["biblio_all", "everything"] }, "release_type": { "type": "keyword", "normalizer": "default", "copy_to": ["biblio_all", "everything"] }, @@ -234,7 +234,7 @@ "arxiv_id": { "type": "alias", "path": "releases.arxiv_id" }, "jstor_id": { "type": "alias", "path": "releases.jstor_id" }, - "title": { "type": "alias", "path": "biblio.title" }, + "title": { "type": "alias", "path": "title_all" }, "subtitle": { "type": "alias", "path": "biblio.subtitle" }, "original_title": { "type": "alias", "path": "biblio.original_title" }, "withdrawn_status":{"type": "alias", "path": "biblio.withdrawn_status" }, -- cgit v1.2.3