File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/analysis-common Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 317
317
body :
318
318
text : " a/b/c"
319
319
explain : true
320
- tokenizer :
321
- type : PathHierarchy
320
+ tokenizer : path_hierarchy
322
321
- length : { detail.tokenizer.tokens: 3 }
323
- - match : { detail.tokenizer.name: __anonymous__PathHierarchy }
322
+ - match : { detail.tokenizer.name: path_hierarchy }
324
323
- match : { detail.tokenizer.tokens.0.token: a }
325
324
- match : { detail.tokenizer.tokens.1.token: a/b }
326
325
- match : { detail.tokenizer.tokens.2.token: a/b/c }
327
326
327
+ ---
328
+ " PathHierarchy " :
328
329
- do :
329
330
indices.analyze :
330
331
body :
331
332
text : " a/b/c"
332
333
explain : true
333
- tokenizer : path_hierarchy
334
+ tokenizer :
335
+ type : PathHierarchy
334
336
- length : { detail.tokenizer.tokens: 3 }
335
- - match : { detail.tokenizer.name: path_hierarchy }
337
+ - match : { detail.tokenizer.name: __anonymous__PathHierarchy }
336
338
- match : { detail.tokenizer.tokens.0.token: a }
337
339
- match : { detail.tokenizer.tokens.1.token: a/b }
338
340
- match : { detail.tokenizer.tokens.2.token: a/b/c }
You can’t perform that action at this time.
0 commit comments