Need a rule of thumb: when should I use facets and when intermediate nodes?

it’s sometime better to use extra nodes as an intermediate for edge properties, instead of facets. e.g: if you need to aggregate the facets - that’s not possible with facets so you gotta use intermediate nodes who connect/describe the edges, and these you can aggregate/count

are there other use cases?

can someone tell me a rule of thumb that I shall follow, when I should use facets, and when intermediate nodes that connect/describe the edge(s)?

thanks a lot


The moment you use GraphQL you would have difficulties with facets as they are not supported. Then you need to work around with custom dql.

1 Like