From 8b5a78cd13ebfe5843bb0f04839afde69e09bb59 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 6 Aug 2020 12:31:10 -0700 Subject: ES schema: use smaller integer size (short) for most numbers --- schema/scholar_fulltext.v01.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'schema') diff --git a/schema/scholar_fulltext.v01.json b/schema/scholar_fulltext.v01.json index aa044e7..b03412d 100644 --- a/schema/scholar_fulltext.v01.json +++ b/schema/scholar_fulltext.v01.json @@ -84,16 +84,16 @@ "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_year": { "type": "short", "copy_to": ["biblio_all", "everything"] }, "release_type": { "type": "keyword", "normalizer": "default", "copy_to": ["biblio_all", "everything"] }, "release_stage": { "type": "keyword", "normalizer": "default" }, "withdrawn_status": { "type": "keyword", "normalizer": "default", "copy_to": ["biblio_all", "everything"] }, "lang_code": { "type": "keyword", "normalizer": "default" }, "country_code": { "type": "keyword", "normalizer": "default" }, "volume": { "type": "keyword", "normalizer": "default", "copy_to": ["biblio_all", "everything"] }, - "volume_int": { "type": "integer" }, + "volume_int": { "type": "short" }, "issue": { "type": "keyword", "normalizer": "default", "copy_to": ["biblio_all", "everything"] }, - "issue_int": { "type": "integer" }, + "issue_int": { "type": "short" }, "pages": { "type": "keyword", "normalizer": "default", "copy_to": ["biblio_all", "everything"] }, "first_page": { "type": "keyword", "normalizer": "default" }, "first_page_int": { "type": "integer" }, @@ -119,7 +119,7 @@ "container_wikidata_qid": { "type": "keyword", "normalizer": "default" }, "issns": { "type": "keyword", "normalizer": "default" }, "container_type": { "type": "keyword", "normalizer": "default" }, - "contrib_count": { "type": "integer" }, + "contrib_count": { "type": "short" }, "contrib_names": { "type": "text", "index": true, "analyzer": "textIcuExact", "search_analyzer":"textIcuSearchExact", "copy_to": ["biblio_all", "everything"] }, "affiliations": { "type": "text", "index": true, "analyzer": "textIcuExact", "search_analyzer":"textIcuSearchExact" } } @@ -172,7 +172,7 @@ "revision": { "type": "keyword", "normalizer": "default", "doc_values": false }, "title": { "type": "text", "index": true, "analyzer": "textIcu", "search_analyzer":"textIcuSearch", "copy_to": ["biblio_all", "everything"] }, "release_date": { "type": "date" }, - "release_year": { "type": "integer", "copy_to": ["biblio_all", "everything"] }, + "release_year": { "type": "short", "copy_to": ["biblio_all", "everything"] }, "release_type": { "type": "keyword", "normalizer": "default", "copy_to": ["biblio_all", "everything"] }, "release_stage": { "type": "keyword", "normalizer": "default" }, "withdrawn_status": { "type": "keyword", "normalizer": "default", "copy_to": ["biblio_all", "everything"] }, -- cgit v1.2.3