Skip to content
This repository was archived by the owner on Aug 3, 2022. It is now read-only.

Commit

Permalink
commit elasticsearch mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
rsmith013 committed Dec 17, 2021
1 parent ff3061e commit 79bfd6b
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ venv
.idea
test_dir
docs_venv
conf
conf/*
!conf/elasticsearch_mapping.yml
docs_src/build
*env*
25 changes: 25 additions & 0 deletions conf/elasticsearch_mapping.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
settings:
index:
analysis:
analyzer:
path_analyzer:
tokenizer: path_tokenizer
tokenizer:
path_tokenizer:
type: path_hierarchy
mappings:
properties:
collection_id:
type: keyword
checksum:
properties:
checksum:
type: keyword
time:
type: date
extension:
type: keyword
ignore_above: 256
filepath_type_location:
type: text
analyzer: path_analyzer

0 comments on commit 79bfd6b

Please sign in to comment.