Skip to content

Commit

Permalink
Pattern tokenizer parameters should be optional (#2232)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshMock authored Aug 15, 2023
1 parent ab9b196 commit b8a88c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions specification/_types/analysis/tokenizers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ export class PathHierarchyTokenizer extends TokenizerBase {

export class PatternTokenizer extends TokenizerBase {
type: 'pattern'
flags: string
group: integer
pattern: string
flags?: string
group?: integer
pattern?: string
}

export class StandardTokenizer extends TokenizerBase {
Expand Down

0 comments on commit b8a88c9

Please sign in to comment.