# 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 name type string {} field weight type int {} } field elem_array type array { indexing: summary struct-field name { indexing: attribute attribute: fast-search } struct-field weight { indexing: attribute } } } document-summary rename { summary new_elem_array type array { source: elem_array } } }