Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated ElasticSearch mapping scripts
- Loading branch information
1 parent
d88fb68
commit 3c9f455
Showing
13 changed files
with
321 additions
and
119 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
ElasticSearch/AuthorsMappings.json → ElasticSearch/Authors.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,239 @@ | ||
{ | ||
"settings": { | ||
"analysis": { | ||
"analyzer": { | ||
"default": { | ||
"tokenizer": "icu_tokenizer", | ||
"filter": [ "lowercase", "icu_folding" ] | ||
} | ||
} | ||
} | ||
}, | ||
"mappings" : { | ||
"catalogitem" : { | ||
"properties" : { | ||
"associations" : { | ||
"type" : "text", | ||
"analyzer" : "default" | ||
}, | ||
"authors" : { | ||
"type" : "keyword", | ||
"index" : false | ||
}, | ||
"collections" : { | ||
"type" : "keyword", | ||
"include_in_all" : false | ||
}, | ||
"container" : { | ||
"type" : "text", | ||
"analyzer" : "default", | ||
"fields" : { | ||
"raw" : { | ||
"type" : "keyword" | ||
} | ||
} | ||
}, | ||
"contributors" : { | ||
"type" : "text", | ||
"analyzer" : "default", | ||
"fields" : { | ||
"raw" : { | ||
"type" : "keyword" | ||
} | ||
}, | ||
"include_in_all" : false | ||
}, | ||
"dateRanges" : { | ||
"type" : "keyword", | ||
"include_in_all" : false | ||
}, | ||
"dates" : { | ||
"type" : "keyword" | ||
}, | ||
"doi" : { | ||
"type" : "text", | ||
"analyzer" : "standard", | ||
"fields" : { | ||
"raw" : { | ||
"type" : "keyword" | ||
} | ||
} | ||
}, | ||
"facetAuthors" : { | ||
"type" : "keyword", | ||
"index" : false | ||
}, | ||
"genre" : { | ||
"type" : "keyword", | ||
"include_in_all" : false | ||
}, | ||
"id" : { | ||
"type" : "keyword", | ||
"include_in_all" : false | ||
}, | ||
"isbn" : { | ||
"type" : "text", | ||
"analyzer" : "standard", | ||
"fields" : { | ||
"raw" : { | ||
"type" : "keyword" | ||
} | ||
} | ||
}, | ||
"issn" : { | ||
"type" : "text", | ||
"analyzer" : "standard", | ||
"fields" : { | ||
"raw" : { | ||
"type" : "keyword" | ||
} | ||
} | ||
}, | ||
"issue" : { | ||
"type" : "text", | ||
"analyzer" : "default" | ||
}, | ||
"itemId" : { | ||
"type" : "long", | ||
"include_in_all" : false | ||
}, | ||
"keywords" : { | ||
"type" : "text", | ||
"analyzer" : "default", | ||
"fields" : { | ||
"raw" : { | ||
"type" : "keyword" | ||
} | ||
} | ||
}, | ||
"language" : { | ||
"type" : "keyword", | ||
"include_in_all" : false | ||
}, | ||
"materialType" : { | ||
"type" : "keyword", | ||
"include_in_all" : false | ||
}, | ||
"oclc" : { | ||
"type" : "text", | ||
"analyzer" : "standard", | ||
"fields" : { | ||
"raw" : { | ||
"type" : "keyword" | ||
} | ||
} | ||
}, | ||
"pageRange" : { | ||
"type" : "keyword", | ||
"index" : false | ||
}, | ||
"publicationPlace" : { | ||
"type" : "text", | ||
"analyzer" : "default", | ||
"fields" : { | ||
"raw" : { | ||
"type" : "keyword" | ||
} | ||
}, | ||
"include_in_all" : false | ||
}, | ||
"publisher" : { | ||
"type" : "text", | ||
"analyzer" : "default", | ||
"fields" : { | ||
"raw" : { | ||
"type" : "keyword" | ||
} | ||
}, | ||
"include_in_all" : false | ||
}, | ||
"searchAuthors" : { | ||
"type" : "text", | ||
"analyzer" : "default" | ||
}, | ||
"segmentId" : { | ||
"type" : "long", | ||
"include_in_all" : false | ||
}, | ||
"series" : { | ||
"type" : "text", | ||
"analyzer" : "default" | ||
}, | ||
"sortTitle" : { | ||
"type" : "keyword", | ||
"include_in_all" : false | ||
}, | ||
"startPageId" : { | ||
"type" : "long", | ||
"include_in_all" : false | ||
}, | ||
"title" : { | ||
"type" : "text", | ||
"analyzer" : "default", | ||
"fields" : { | ||
"raw" : { | ||
"type" : "keyword" | ||
} | ||
} | ||
}, | ||
"titleId" : { | ||
"type" : "long", | ||
"include_in_all" : false | ||
}, | ||
"translatedTitle" : { | ||
"type" : "text", | ||
"analyzer" : "default" | ||
}, | ||
"uniformTitle" : { | ||
"type" : "text", | ||
"analyzer" : "default" | ||
}, | ||
"url" : { | ||
"type" : "keyword", | ||
"index" : false | ||
}, | ||
"variants" : { | ||
"type" : "text", | ||
"analyzer" : "default" | ||
}, | ||
"volume" : { | ||
"type" : "text", | ||
"analyzer" : "default" | ||
}, | ||
"volumes": { | ||
"type": "nested", | ||
"properties": { | ||
"id" : { | ||
"type" : "keyword", | ||
"include_in_all" : false | ||
}, | ||
"itemId" : { | ||
"type" : "long", | ||
"include_in_all" : false | ||
}, | ||
"volume" : { | ||
"type" : "text", | ||
"analyzer" : "default" | ||
}, | ||
"date" : { | ||
"type" : "keyword", | ||
"include_in_all" : false | ||
}, | ||
"hasExternalContent" : { | ||
"type" : "boolean" | ||
}, | ||
"hasIllustrations" : { | ||
"type" : "boolean" | ||
}, | ||
"hasLocalContent" : { | ||
"type" : "boolean" | ||
}, | ||
"hasSegments" : { | ||
"type" : "boolean" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
ElasticSearch/ItemsMappings.json → ElasticSearch/Items.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
10 changes: 10 additions & 0 deletions
10
ElasticSearch/KeywordsMappings.json → ElasticSearch/Keywords.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
10 changes: 10 additions & 0 deletions
10
ElasticSearch/NamesMappings.json → ElasticSearch/Names.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.