You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Chris Bamford <ch...@talktalk.net> on 2013/02/11 16:20:17 UTC
Usage of ToParentBlockJoinCollector
Hi
Can anyone explain to me how to use ToParentBlockJoinCollector in Lucene 4.0.0?
I can successfully query with a ToParentBlockJoinQuery, but the results come back are not grouped by parent doc. I believe that ToParentBlockJoinCollector is the way to go, but I cannot make it work.
Is there some sample code somewhere I can refer to?
Thanks!
- Chris
Re: Usage of ToParentBlockJoinCollector
Posted by Martijn v Groningen <ma...@gmail.com>.
Hi Chris,
I think this will help you:
http://blog.mikemccandless.com/2012/01/searching-relational-content-with.html
It is written some time ago and the actual name
of ToParentBlockJoinCollector was then BlockJoinCollector.
Martijn
On 11 February 2013 16:20, Chris Bamford <ch...@talktalk.net> wrote:
> Hi
>
> Can anyone explain to me how to use ToParentBlockJoinCollector in Lucene
> 4.0.0?
>
> I can successfully query with a ToParentBlockJoinQuery, but the results
> come back are not grouped by parent doc. I believe that
> ToParentBlockJoinCollector is the way to go, but I cannot make it work.
> Is there some sample code somewhere I can refer to?
>
> Thanks!
>
> - Chris
>
--
Met vriendelijke groet,
Martijn van Groningen