Hi,

Lets consider the following object structure.

           X
            |
            --------- Y
                         |
                         --------- Z

The objects Y and Z does not have an existance on their own. They are owned by 
object X.

How do we effectively search such object structure using Lucene? The way I see 
is to denormalize this object structure and save the values of X, Y and Z in 
same field separated by some separator. During searh, again combine the values 
of X, Y and Z while constructing the query.

Are there any best practices around storing the such data structure inside 
Lucene Index?

Regards,
Rajesh





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to