Skip to content

Commit

Permalink
Adds match_only_text to ES_FIELD_TYPES
Browse files Browse the repository at this point in the history
  • Loading branch information
spong committed Jun 6, 2022
1 parent 36aab8f commit 188e17b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/kbn-field-types/src/kbn_field_types_factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export const createKbnFieldTypes = (): KbnFieldType[] => [
esTypes: [
ES_FIELD_TYPES.STRING,
ES_FIELD_TYPES.TEXT,
ES_FIELD_TYPES.MATCH_ONLY_TEXT,
ES_FIELD_TYPES.KEYWORD,
ES_FIELD_TYPES.VERSION,
ES_FIELD_TYPES._TYPE,
Expand Down
1 change: 1 addition & 0 deletions packages/kbn-field-types/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export enum ES_FIELD_TYPES {

STRING = 'string',
TEXT = 'text',
MATCH_ONLY_TEXT = 'match_only_text',
KEYWORD = 'keyword',
VERSION = 'version',

Expand Down

0 comments on commit 188e17b

Please sign in to comment.