Hi, 

I need to search using group join with AND through fields in different 
documents. 
For example I might have the documents:
        doc1: field1=a, parentId=1
        doc2: field2=b, parentId=1

What a need is to make a join using parentId and a search like:
        field1 = a AND field2 = b grouping by parentId

I this case I should get the group with parentId 1. 
I noticed that BooleanQuery with MUST will only work if field1 and field2 where 
in the same document. Is it possible to do that?

Obs: I working with lucene 5.1

Thanks,
Eduardo Manrique
---------------------------------------------------------------------
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