# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. schema test { document test { struct elem { field sf1s type string {} field sf2i type int {} } field mss3 type map { indexing: index struct-field key { indexing: index } struct-field value { indexing: index } } field mse4 type map { indexing: summary struct-field key { indexing: index } struct-field value.sf1s { indexing: index } struct-field value.sf2i { indexing: attribute } } field mse5 type map { indexing: summary struct-field key { indexing: attribute attribute: fast-search } struct-field value.sf1s { indexing: attribute } struct-field value.sf2i { indexing: attribute } } } }