diff options
author | Bryan Newbold <bnewbold@archive.org> | 2020-08-06 12:30:44 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2020-08-06 12:30:44 -0700 |
commit | da2e89152d882ee0ace9878c7ceba2567f8b01a1 (patch) | |
tree | 059b0feb029436f1dc00cbb33b6acc2ccb0874c7 /schema | |
parent | 3edde5586e7db6076c7a1f3b4db48c92aae49dcb (diff) | |
download | fatcat-scholar-da2e89152d882ee0ace9878c7ceba2567f8b01a1.tar.gz fatcat-scholar-da2e89152d882ee0ace9878c7ceba2567f8b01a1.zip |
ES schema: copy_to titles into single title_all field
Diffstat (limited to 'schema')
-rw-r--r-- | schema/scholar_fulltext.v01.json | 8 |
1 files 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" }, |