Search code examples
vespa

Is there a way to reuse a struct in Vespa


Is there a way to reuse a set of fields in a Vespa Schema?

If I had a set of fields that were structs and each struct had a set of identical fields is there a way to define the identical set once and reuse it in each struct through out the schema?


Solution

  • No there is not. Pretty much everything else supports inheritance but not structs. I can add it in a little while.