lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Borgermans" <>
Subject Re: Are Search Joins Possible between two Physically separate Indexes?
Date Thu, 13 Jul 2006 21:10:16 GMT
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

I may need this too, so I'm curious what the experts have to say



On 7/13/06, Dejan Nenov <> 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:
> For additional commands, e-mail:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message