Return-Path: X-Original-To: apmail-lucene-java-user-archive@www.apache.org Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DBE70185EA for ; Tue, 13 Oct 2015 13:09:07 +0000 (UTC) Received: (qmail 82167 invoked by uid 500); 13 Oct 2015 13:08:53 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 82112 invoked by uid 500); 13 Oct 2015 13:08:53 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 82095 invoked by uid 99); 13 Oct 2015 13:08:53 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Oct 2015 13:08:53 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 1771C1A2094 for ; Tue, 13 Oct 2015 13:08:53 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.991 X-Spam-Level: ** X-Spam-Status: No, score=2.991 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=3, MSGID_FROM_MTA_HEADER=0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id WmeCkDcL3jO0 for ; Tue, 13 Oct 2015 13:08:44 +0000 (UTC) Received: from mail10.mayo.edu (mail10.mayo.edu [129.176.114.198]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTP id 0ED36204D9 for ; Tue, 13 Oct 2015 13:08:43 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.17,678,1437454800"; d="scan'208,217";a="55196933" Received: from roedlp004a.mayo.edu (HELO mail10.mayo.edu) ([10.146.65.139]) by ironport10-dlp.mayo.edu with ESMTP; 13 Oct 2015 08:08:37 -0500 Message-Id: X-IronPort-AV: E=Sophos;i="5.17,678,1437454800"; d="scan'208,217";a="55196931" Received: from essexmb.mayo.edu (HELO msgoms03.mayo.edu) ([10.128.209.12]) by ironport10.mayo.edu with ESMTP; 13 Oct 2015 08:08:37 -0500 Date: Tue, 13 Oct 2015 13:08:36 +0000 From: "Bauer, Herbert S. (Scott)" Subject: Entity level queries on parent child groups in block joins To: "java-user@lucene.apache.org" MIME-version: 1.0 Content-type: multipart/alternative; boundary=_000_D2426C7F1075Bbauerscottmayoedu_ Content-language: en-US Accept-Language: en-US Thread-topic: Entity level queries on parent child groups in block joins Thread-index: AQHRBbhEcxUY/wBuhkOTm1HsvQCdMw== Old-x-esetresult: clean, is OK Old-x-esetid: 21227A3EEBB03636716622 X-MS-Has-Attach: X-MS-TNEF-Correlator: X-EsetResult: clean, is OK X-EsetId: 19A47B3E9C6E313649E023 User-Agent: Microsoft-MacOutlook/14.4.4.140807 X-CFilter-Loop: Reflected --_000_D2426C7F1075Bbauerscottmayoedu_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable We are attempting to upgrade from 2.4.1 to 5.2.1. In our older implementat= ion we had custom filtering/scoring mechanism that allowed us to query our = grouped documents as a single entity. In particular, this allowed us to qu= ery documents that had the same field name and different values as a single= entity. We=92d like to be able to to this with the new ToParentBlockJoinQ= uery 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 que= ry with two Occur. MUST designations) and return a parent document that con= tained these two values while at the same time returning no other parents t= hat had one of the other values? (Which would be the case with a boolean q= uery with two or more Occur.SHOULD designations) Performance is a consideration here. Thanks, Scott --_000_D2426C7F1075Bbauerscottmayoedu_--