Hi Mike,

unfortunately, you were right about only getting the last child's grandchildren. Furthermore, the groups have wrong groupValues: They are the document id of the previous parent, not the child. I have opened an issue:

https://issues.apache.org/jira/browse/LUCENE-4076

I also created the issue for the missing access to the computed scores:

https://issues.apache.org/jira/browse/LUCENE-4077

Regards,
Christoph



Am 24.05.2012 18:32, schrieb Michael McCandless:
On Thu, May 24, 2012 at 11:48 AM, Christoph Kaser
<lucene_l...@iconparc.de>  wrote:

thank you for your response. Unfortunately, I won't be able to try this
today, but I should be able to try it in the next few days. If I find the
bug you described, I will open an issue.
Thanks!

On a somewhat related note, is there a way to get the scores for the parent
documents from the ToParentBlockJoinCollector? I can tell the collector to
track the scores and the max score, but I did not find a way to retrieve
either the parent scores nor the max score (of the parent documents).
Hmmm... so ToParentBlockJoinCollector does track the maxScore and
score of each parent hit, but it looks like it never makes those
available in the TopGroups it returns!  Silly.  Can you open a
separate issue for that?  Thanks.

Mike McCandless

http://blog.mikemccandless.com





---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to