lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martijn v Groningen <>
Subject Re: ToParentBlockJoinQuery - Faceting on Parent and Child Documents
Date Fri, 03 Aug 2012 11:50:25 GMT
Hi Jayendra,

This isn't supported yet. You could implement this by creating a
custom Lucene collector.
This collector could count the unique hits inside a block of docs per
unique facet field value. The
unique facet values could be retrieved from Lucene's FieldCache or doc
values (if you can use Lucene 4.0
in your project).

In general I think this would be a cool addition!


On 25 July 2012 13:37, Jayendra Patil <> wrote:
> Thanks Mike for the wonderful work on ToParentBlockJoinQuery.
> We had a use case for Relational data search and are working with
> ToParentBlockJoinQuery which works perfectly as mentioned @
> However, I couldn't find any examples on net or even in the JUnit
> testcases to use Faceting on the Parent or the Child results.
> Is it supported as yet ??? Can you provide us with any examples ??
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

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

View raw message