# Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
search mydoc {
document mydoc {
field title type string {
indexing: index
}
field substring type string {
indexing: index
match: gram
}
}
}