Thank you for the reply.
My issue is that the the document(D1) has IBM, GOOG and MFST as companies in it. And in the document_company join table I have three entries in the mapping. If I search for either IBM, GOOG or MFST, I should get the complete document(D1) with all the three company object.
But what is happening is, if I search for IBM, I am getting D1, but D1 has only one company object that of IBM. what happened to GOOG and MFST, it is also part of that document, isn't it? Why am I losing information about the main document? If I search for GOOG, I am getting only GOOG company object as part of the document and IBM and MFST are missing.
I would really appreciate if you have a solution for this.
|