AnsweredAssumed Answered

Associations v/s attributes

Question asked by pvaibhav on Jan 27, 2006
Latest reply on Jan 27, 2006 by davidc
I am trying to define my content model in Alfresco.

Here is my problem:
I have n equipments (a domain object) and some content (text/files). Each content item may be associated with 1 or n equipments.

I can think of two ways to do this
1) Store list of n equpiments (it may have it's own metadata) as nodes and then put association with content nodes.

2) Simply put list of equipments as comma seperated list attribute for each content node. We can use Lucene to find what are all the content items related to equipment X?

Which one is better & efficient ? Any suggestions?

Regards,
Vaibhav

Outcomes