Skip to content

Commit 1e13380

Browse files
authored
Add support for match_only_text field type (#284)
1 parent 0227d87 commit 1e13380

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

test/packages/good/data_stream/foo/fields/some_fields.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,6 @@
3232
- name: vehicle_type
3333
type: constant_keyword
3434
value: truck
35+
- name: error.message
36+
description: Error message.
37+
type: match_only_text

versions/1/changelog.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
- description: Fix validation of dimension fields inside objects
1414
type: bugfix
1515
link: https://github.com/elastic/package-spec/pull/279
16+
- description: Add support for match_only_text field type
17+
type: enhancement
18+
link: https://github.com/elastic/package-spec/issues/284
1619
- version: 1.4.1
1720
changes:
1821
- description: ML model file name now matches the id of the model.

versions/1/data_stream/fields/fields.spec.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ spec:
2222
- histogram
2323
- constant_keyword
2424
- text
25+
- match_only_text
2526
- keyword
2627
- long
2728
- integer

0 commit comments

Comments
 (0)