# Copyright 2017 Yahoo Holdings. 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
}
}
}