lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bauer, Herbert S. (Scott)" <>
Subject Entity level queries on parent child groups in block joins
Date Tue, 13 Oct 2015 13:08:36 GMT
We are attempting to upgrade from 2.4.1 to 5.2.1.  In our older implementation we had custom
filtering/scoring mechanism that allowed us to query our grouped documents as a single entity.
 In particular, this allowed us to query documents that had the same field name and different
values as a single entity.  We’d like to be able to to this with the new ToParentBlockJoinQuery
mechanism.  Is there any part of the api that would allow us to query two documents with different
values for the same field (as in a boolean query with two Occur. MUST designations) and return
a parent document that contained these two values while at the same time returning no other
parents that had one of the other values?  (Which would be the case with a boolean query with
two or more Occur.SHOULD designations)

Performance is a consideration here.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message