diff options
author | Bryan Newbold <bnewbold@archive.org> | 2020-08-06 12:31:10 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2020-08-06 12:31:10 -0700 |
commit | 8b5a78cd13ebfe5843bb0f04839afde69e09bb59 (patch) | |
tree | c0b957214d42675d2813b633072f02d3fb01697a /schema/scholar_fulltext.v01.json | |
parent | da2e89152d882ee0ace9878c7ceba2567f8b01a1 (diff) | |
download | fatcat-scholar-8b5a78cd13ebfe5843bb0f04839afde69e09bb59.tar.gz fatcat-scholar-8b5a78cd13ebfe5843bb0f04839afde69e09bb59.zip |
ES schema: use smaller integer size (short) for most numbers
Diffstat (limited to 'schema/scholar_fulltext.v01.json')
-rw-r--r-- | schema/scholar_fulltext.v01.json | 10 |
1 files changed, 5 insertions, 5 deletions
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"] }, |