lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Sokolov <>
Subject access to joined documents
Date Fri, 02 Nov 2018 17:16:46 GMT
Hi List, I have a question about query-time joins as provided by
JoinUtil in the join package. As I understand it, the main documents
returned by the query will be those having a value in the to-field
that matches the value in the from-field of some documents returned by
the fromQuery.

My question is whether it is possible to retrieve the docids of the
from-document(s) that contributed to the match of a given result
(to-document). The only way I can see how to do it is effectively to
re-run the fromQuery with the added constraint that the fromField
matches the values pulled from the result document's toField. But this
seems messy given that the work was already done in some sense while
executing the original query. I looked around but didn't see anything
that would be keeping track of these matches - did I miss it? Is there
a better approach than what I described?


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

View raw message