diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2021-03-27 01:53:04 +0100 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2021-03-27 01:53:04 +0100 |
commit | f03e0f6493ee40d55641bf0f3f0bf95a3530d237 (patch) | |
tree | e0a927f6595094dae2a9484f006bae360579c1cf /extra | |
parent | 3667f3e2a52a54802d1193b1a783c6aa7e306729 (diff) | |
download | refcat-f03e0f6493ee40d55641bf0f3f0bf95a3530d237.tar.gz refcat-f03e0f6493ee40d55641bf0f3f0bf95a3530d237.zip |
adjust settings
Diffstat (limited to 'extra')
-rw-r--r-- | extra/elasticsearch/fatcat_ref.json | 230 |
1 files changed, 99 insertions, 131 deletions
diff --git a/extra/elasticsearch/fatcat_ref.json b/extra/elasticsearch/fatcat_ref.json index f4505ec..0e072c0 100644 --- a/extra/elasticsearch/fatcat_ref.json +++ b/extra/elasticsearch/fatcat_ref.json @@ -1,139 +1,107 @@ { - "ref": { - "settings": { - "index": { - "analysis": { - "analyzer": { - "default": { - "type": "custom", - "tokenizer": "standard", - "filter": [ - "lowercase", - "asciifolding" - ] - }, - "textIcu": { - "type": "custom", - "tokenizer": "icu_tokenizer", - "char_filter": [ - "icu_normalizer" - ], - "filter": [ - "icu_folding" - ] - }, - "textIcuSearch": { - "type": "custom", - "tokenizer": "icu_tokenizer", - "char_filter": [ - "icu_normalizer" - ], - "filter": [ - "icu_folding" - ] - } + "settings": { + "index": { + "analysis": { + "normalizer": { + "default": { + "type": "custom", + "char_filter": [], + "filter": [ + "lowercase" + ] }, - "normalizer": { - "default": { - "type": "custom", - "char_filter": [], - "filter": [ - "lowercase" - ] - }, - "caseSensitive": { - "type": "custom", - "char_filter": [], - "filter": [] - } + "caseSensitive": { + "type": "custom", + "char_filter": [], + "filter": [] } } } - }, - "mappings": { - "properties": { - "update_ts": { - "type": "date" - }, - "source_release_ident": { - "type": "keyword", - "normalizer": "default", - "doc_values": false - }, - "source_work_ident": { - "type": "keyword", - "normalizer": "default", - "doc_values": false - }, - "source_wikipedia_article": { - "type": "keyword", - "normalizer": "default", - "doc_values": false - }, - "source_release_stage": { - "type": "keyword", - "normalizer": "default", - "doc_values": false - }, - "source_release_year": { - "type": "integer" - }, - "ref_index": { - "type": "integer" - }, - "ref_key": { - "type": "keyword", - "normalizer": "default", - "doc_values": false - }, - "ref_locator": { - "type": "keyword", - "normalizer": "default", - "doc_values": false - }, - "target_release_ident": { - "type": "keyword", - "normalizer": "default", - "doc_values": false - }, - "target_work_ident": { - "type": "keyword", - "normalizer": "default", - "doc_values": false - }, - "target_openlibrary_work": { - "type": "keyword", - "normalizer": "default", - "doc_values": false - }, - "target_url_surt": { - "type": "keyword", - "normalizer": "default", - "doc_values": false - }, - "match_provenance": { - "type": "keyword", - "normalizer": "default", - "doc_values": false - }, - "match_status": { - "type": "keyword", - "normalizer": "default", - "doc_values": false - }, - "match_reason": { - "type": "keyword", - "normalizer": "default", - "doc_values": false - }, - "target_unstructured": { - "type": "keyword", - "normalizer": "default", - "doc_values": false - }, - "target_csl": { - "type": "flattened" - } + } + }, + "mappings": { + "properties": { + "update_ts": { + "type": "date" + }, + "source_release_ident": { + "type": "keyword", + "normalizer": "default", + "doc_values": false + }, + "source_work_ident": { + "type": "keyword", + "normalizer": "default", + "doc_values": false + }, + "source_wikipedia_article": { + "type": "keyword", + "normalizer": "default", + "doc_values": false + }, + "source_release_stage": { + "type": "keyword", + "normalizer": "default", + "doc_values": false + }, + "source_release_year": { + "type": "integer" + }, + "ref_index": { + "type": "integer" + }, + "ref_key": { + "type": "keyword", + "normalizer": "default", + "doc_values": false + }, + "ref_locator": { + "type": "keyword", + "normalizer": "default", + "doc_values": false + }, + "target_release_ident": { + "type": "keyword", + "normalizer": "default", + "doc_values": false + }, + "target_work_ident": { + "type": "keyword", + "normalizer": "default", + "doc_values": false + }, + "target_openlibrary_work": { + "type": "keyword", + "normalizer": "default", + "doc_values": false + }, + "target_url_surt": { + "type": "keyword", + "normalizer": "default", + "doc_values": false + }, + "match_provenance": { + "type": "keyword", + "normalizer": "default", + "doc_values": false + }, + "match_status": { + "type": "keyword", + "normalizer": "default", + "doc_values": false + }, + "match_reason": { + "type": "keyword", + "normalizer": "default", + "doc_values": false + }, + "target_unstructured": { + "type": "keyword", + "normalizer": "default", + "doc_values": false + }, + "target_csl": { + "type": "flattened" } } } |