diff options
author | Jon Bratseth <bratseth@verizonmedia.com> | 2019-08-05 16:49:35 +0200 |
---|---|---|
committer | Jon Bratseth <bratseth@verizonmedia.com> | 2019-08-05 16:49:35 +0200 |
commit | c9948e8a8ce64f5ae819adc9e9ff2834700c582e (patch) | |
tree | 2a700dd9512193d5543feee4ba05d9fb3cb433f9 /config-model/src/test/examples | |
parent | 00eda613b439d53facdcc3d261b828454446faa0 (diff) |
Allow both attribute and index with n-gram
Diffstat (limited to 'config-model/src/test/examples')
-rw-r--r-- | config-model/src/test/examples/ngram.sd | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/config-model/src/test/examples/ngram.sd b/config-model/src/test/examples/ngram.sd index 6324dd0fbd1..5d70d8dc536 100644 --- a/config-model/src/test/examples/ngram.sd +++ b/config-model/src/test/examples/ngram.sd @@ -13,9 +13,8 @@ search ngram { } field gram_2 type string { - indexing: index + indexing: attribute | index # index take precedence for matching match: gram # gram-size 2 is default - # index-to: gram_2, default } field gram_3 type string { @@ -24,7 +23,6 @@ search ngram { gram gram-size: 3 } - # index-to: gram_3, default } } |