diff options
author | Bryan Newbold <bnewbold@archive.org> | 2020-05-20 17:05:17 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2020-05-20 17:05:17 -0700 |
commit | 2c39d0418cfc66d291acfce88fa70846ff866b68 (patch) | |
tree | 81b65ca51699e2df0271d100b07a0ec7ad1868f8 /schema/scholar_fulltext.v01.json | |
parent | 75b795157d9b57e2ea096003a84d77539f25a4a5 (diff) | |
download | fatcat-scholar-2c39d0418cfc66d291acfce88fa70846ff866b68.tar.gz fatcat-scholar-2c39d0418cfc66d291acfce88fa70846ff866b68.zip |
fixes to schema; actually working now
Diffstat (limited to 'schema/scholar_fulltext.v01.json')
-rw-r--r-- | schema/scholar_fulltext.v01.json | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/schema/scholar_fulltext.v01.json b/schema/scholar_fulltext.v01.json index e09b00c..8024702 100644 --- a/schema/scholar_fulltext.v01.json +++ b/schema/scholar_fulltext.v01.json @@ -53,7 +53,7 @@ "key": { "type": "keyword", "normalizer": "default", "doc_values": false }, "doc_type": { "type": "keyword", "normalizer": "default" }, - "doc_index_ts": { "type": "timestamp" }, + "doc_index_ts": { "type": "date" }, "work_ident": { "type": "keyword", "normalizer": "default", "doc_values": false }, "tags": { "type": "keyword", "normalizer": "default" }, @@ -140,7 +140,7 @@ "type": "nested", "dynamic": false, "properties": { - "body": { "type": "text", "index": true, "analyzer": "textIcu", "search_analyzer":"textIcuSearch", "copy_to": "everything", "store": true }, + "body": { "type": "text", "index": true, "analyzer": "textIcu", "search_analyzer":"textIcuSearch", "copy_to": ["everything", "abstracts_all"], "store": true }, "lang_code": { "type": "keyword", "normalizer": "default" } } }, @@ -194,9 +194,10 @@ "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" }, "body": { "type": "alias", "path": "fulltext.body" }, - "abstract": { "type": "alias", "path": "abstracts.body" }, + "abstract": { "type": "alias", "path": "abstracts_all" }, "acknowledgement":{ "type": "alias", "path": "fulltext.acknowledgement" }, "tag": { "type": "alias", "path": "tags" }, |