Skip to content

Commit

Permalink
Remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexRuiz7 committed Sep 12, 2024
1 parent cabac1a commit 9f8152f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions ecs/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,6 @@ generate_mappings() {
--mapping-settings "$IN_FILES_DIR/mapping-settings.json" \
--out "$OUT_DIR" || exit 1

# Replace "match_only_text" type (not supported by OpenSearch) with "text"
# echo "Replacing \"match_only_text\" type with \"text\""
# find "$OUT_DIR" -type f -exec sed -i 's/match_only_text/text/g' {} \;

# Replace "constant_keyword" type (not supported by OpenSearch) with "keyword"
echo "Replacing \"constant_keyword\" type with \"keyword\""
find "$OUT_DIR" -type f -exec sed -i 's/constant_keyword/keyword/g' {} \;
Expand Down

0 comments on commit 9f8152f

Please sign in to comment.