Re: createJoinQuery use

2012-04-04 Thread kiwi clive
Martijn v Groningen To: java-user@lucene.apache.org Sent: Thursday, March 29, 2012 3:23 PM Subject: Re: createJoinQuery use 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, index

Re: createJoinQuery use

2012-03-29 Thread Martijn v Groningen
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, indexSearcher); Query toQuery = JoinUtil.createJoinQuery("to", "from", actualQuery, indexSearcher); And then use a boolean query to combine

createJoinQuery use

2012-03-29 Thread kiwi clive
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