Skip to content

Commit

Permalink
[ML] New Platform server shim: update job service schema (#57614)
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarezmelissa87 authored Feb 13, 2020
1 parent 6e4efdf commit fdef026
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@ import { schema } from '@kbn/config-schema';

const analyzerSchema = {
tokenizer: schema.string(),
filter: schema.arrayOf(
schema.object({
type: schema.string(),
stopwords: schema.arrayOf(schema.maybe(schema.string())),
})
filter: schema.maybe(
schema.arrayOf(
schema.object({
type: schema.string(),
stopwords: schema.arrayOf(schema.maybe(schema.string())),
})
)
),
};

Expand Down

0 comments on commit fdef026

Please sign in to comment.