aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/derived/advanced/ilscripts.cfg
blob: ffa9a7e060f635fe6d5213eb51b484450b48cdb9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
maxtermoccurrences 100
ilscript[0].doctype "advanced"
ilscript[0].docfield[0] "debug_src"
ilscript[0].docfield[1] "attributes_src"
ilscript[0].docfield[2] "location_str"
ilscript[0].docfield[3] "title_src"
ilscript[0].docfield[4] "product_src"
ilscript[0].docfield[5] "product2_src"
ilscript[0].docfield[6] "product3_src"
ilscript[0].content[0] "clear_state | guard { 1 | set_var superdupermod; 2 | set_var tmppubdate; input attributes_src | lowercase | tokenize normalize | summary attributes | index attributes | split \";\" | for_each { switch { case \"typepr\": 1 | set_var tmpsourcerank | get_var tmppubdate - 9000 | set_var tmppubdate | 0 | set_var superdupermod; } }; }"
ilscript[0].content[1] "clear_state | guard { 0 | set_var superduperus | set_var superdupereu | set_var superduperasia; input debug_src | lowercase | tokenize normalize | summary debug | index debug | split \";\" | for_each { switch { case \"superduperus\": 10 | set_var superduperus; case \"superdupereu\": 10 | set_var superdupereu; case \"superduperasia\": 10 | set_var superduperasia; } }; }"
ilscript[0].content[2] "clear_state | guard { input location_str | to_pos | zcurve | attribute location_zcurve; }"
ilscript[0].content[3] "clear_state | guard { input title_src | summary mysummary; }"
ilscript[0].content[4] "clear_state | guard { input product_src | switch { case \"\": \"myweb\" | tokenize stem:\"SHORTEST\" | index product | summary product; default: input product_src | tokenize stem:\"SHORTEST\" | index product | summary product; }; }"
ilscript[0].content[5] "clear_state | guard { if (input product2_src == \"foo\") { \"bar\" | tokenize stem:\"SHORTEST\" | index product2; } else { \"baz\" | tokenize stem:\"SHORTEST\" | index product2; }; }"
ilscript[0].content[6] "clear_state | guard { input product3_src | switch { case \"\": \"myweb\" | tokenize stem:\"SHORTEST\" | index product3 | summary product3; default: input product3_src | tokenize stem:\"SHORTEST\" | index product3 | summary product3; }; }"
ilscript[0].content[7] "clear_state | guard { input title_src | tokenize normalize | index title; }"
ilscript[0].content[8] "clear_state | guard { input title_src | summary title_s; }"
ilscript[0].content[9] "input attributes_src | passthrough attributes_src"
ilscript[0].content[10] "input debug_src | passthrough debug_src"
ilscript[0].content[11] "input product2_src | passthrough product2_src"
ilscript[0].content[12] "input product3_src | passthrough product3_src"
ilscript[0].content[13] "input product_src | passthrough product_src"
ilscript[0].content[14] "input title_src | passthrough title_src"