lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martijn v Groningen <>
Subject Re: createJoinQuery use
Date Thu, 29 Mar 2012 14:23:18 GMT
It is only possible to join on one side at the same time.
You mean something like this:
Query fromQuery = JoinUtil.createJoinQuery("from", "to", actualQuery,
Query toQuery = JoinUtil.createJoinQuery("to", "from", actualQuery,

And then use a boolean query to combine it? What is it you want to achieve?


On 29 March 2012 14:04, kiwi clive <> wrote:

> Hi Chaps,
> JoinUtil.createJoinQuery() specifies a Query for the from side of the join.
> Is it possible to query over both sides of the join (while still providing
> the two join fields) ? If not, what is the recommended best practice to do
> this?
> Thanks, and apologies for the dumb questions
> C

Met vriendelijke groet,

Martijn van Groningen

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message