Hi, Actually, this is a hard requirement for BlockJoinQuery: the parent document must always be last in the doc block; the package.html describes this I think?
Mike McCandless http://blog.mikemccandless.com On Mon, Mar 12, 2012 at 12:57 PM, Jean-Marc MORAS <jean-marc.mo...@external.total.com> wrote: > Dear > > Bravo for your work on lucene, > > A comment : > > ToParentBlockJoinQuery return bad children (Children of previous adjacent > block) > This happens if parent is the first of the list of document block indexed. > Add the parent at the end of the documents list (as in TestBlockJoin > TestCase) solve this problem. > > This is a bug or at least a important void in documentation. > > Thanks and best regards. > > > Jean-Marc > Tel: +33 (0)559 83 60 02<tel:+33559836002> --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org