Skip to content

Commit

Permalink
chore: enable full-text search on data.log field
Browse files Browse the repository at this point in the history
Change the type of the data.log field from `keyword` to `text` to enable full-text
search. This change also removes the limit on the number of characters that are searchable
for the field.
  • Loading branch information
jboix committed Feb 18, 2025
1 parent 99d4fa5 commit 8166d15
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/resources/opensearch/index_template.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,7 @@
"type": "long"
},
"log": {
"type": "keyword",
"ignore_above": 256
"type": "text"
},
"media": {
"properties": {
Expand Down

0 comments on commit 8166d15

Please sign in to comment.