Sorry, a filter won't help if I understood you correctly (a real join based on the external DocumentID)
Paul On 7/13/06, Paul Borgermans <[EMAIL PROTECTED]> wrote:
Though I'm a newbie (which means I may be completely wrong), I don't think this is possible "out of the box". The quickest would be to write a filter which looks up document id's in the first index and applies this to the second index to get the disired subset to search over. I may need this too, so I'm curious what the experts have to say Regards Paul On 7/13/06, Dejan Nenov <[EMAIL PROTECTED]> wrote: > Here is a use case I am trying to address. > > I have two separate indexes, which contain sets of the same document > pool/corpus. > The two indexes have a different set of indexed fields. > One of the indexed fields is an external DocumentID. > > I would like to perform searches, like a relational join, expressing: > > "Return all fields (from both indexes) for document-ids that exist in both > indexes and where field-X in Index-1 contains "foo" and field-Y in Index-2 > contains "bar". > > How would you approach this. Do we need to handle the join logic ourselves, > or is there an API Approach - possibly around MultiSearcher, that is meant > to address this use case? > > Dejan > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- http://walhalla.wordpress.com
-- http://walhalla.wordpress.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
