In a search definition, fields within a structure cannot have attribute indexing.
http://docs.vespa.ai/documentation/reference/search-definitions-reference.html#field_types
In addition, the structure and maps are not attributes by default. An effective search definition will look something like this:
struct nlp {
field token type string {
match: text
}
}
field n type nlp {
indexing: summary
}
How to add a search definition so that we can group "n.token"? Can I add an attribute or index for structure fields? Or group by fields that are not attributes?
source
share