Skip to content

Commit

Permalink
PLT-1886 Add truncate analyzer for vertex_index
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilbonte21 committed Sep 13, 2023
1 parent e8034e6 commit 7ab815c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions addons/elasticsearch/es-settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@
"graph_synonyms", "lowercase"
],
"tokenizer": "atlan_tokenizer"
},
"truncate_analyzer": {
"char_filter": [
"truncate_filter"
],
"tokenizer": "standard"
}
},
"normalizer": {
Expand Down Expand Up @@ -103,6 +109,11 @@
"type":"pattern_replace",
"pattern":"\\d+",
"replacement":" $0"
},
"truncate_filter": {
"pattern": "(^.{0,100000}).*$",
"type": "pattern_replace",
"replacement": "$1 "
}
}
}
Expand Down

0 comments on commit 7ab815c

Please sign in to comment.