#35734·vespa

Support indexing of multi value maps in Vespa schema

Author: schandrasekharCreated Jan 29, 2026Updated Aug 5, 2026

Is your feature request related to a problem? Please describe. Support indexing of this field type in Vespa schema

# any_primitive_type can be any of the Vespa supported primitive types
field product_metadata type map<string, array<`any_primitive_type`>> {
            indexing: summary
            struct-field key {
                indexing: attribute | index
            }
            struct-field value {
                indexing: attribute | index
            }
        }

Right now having an array of primitive types in the value field of a map does not support attribute or index indexing.

Describe the solution you'd like Support indexing of multi value maps in Vespa schema

Describe alternatives you've considered For now I have converted the above into the following schema def

struct tuple2 {
    field name type string {}
    field val type string {}
}

field product_metadata type array<tuple2> {
            indexing: summary
            struct-field name {
                indexing: attribute | index
            }
            struct-field val {
                indexing: attribute | index
            }
        }

Additional context N/A