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! Martijn On 25 July 2012 13:37, Jayendra Patil <jayendra.patil....@gmail.com> 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 @ > http://blog.mikemccandless.com/2012/01/searching-relational-content-with.html > > 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: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org