Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C1EB39BAF for ; Thu, 9 Feb 2012 23:11:23 +0000 (UTC) Received: (qmail 2430 invoked by uid 500); 9 Feb 2012 23:11:22 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 2161 invoked by uid 500); 9 Feb 2012 23:11:21 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 1978 invoked by uid 99); 9 Feb 2012 23:11:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Feb 2012 23:11:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Feb 2012 23:11:19 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 2ABF81AD81A for ; Thu, 9 Feb 2012 23:10:58 +0000 (UTC) Date: Thu, 9 Feb 2012 23:10:58 +0000 (UTC) From: "Michael McCandless (Commented) (JIRA)" To: dev@lucene.apache.org Message-ID: <1042950659.21936.1328829058176.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <41082218.7408.1327929730417.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (SOLR-3076) Solr should support block joins MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SOLR-3076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13205016#comment-13205016 ] Michael McCandless commented on SOLR-3076: ------------------------------------------ Mikhail, I think something like that looks right? It expresses the join structure to the QP. Hoss, you're right, you can have the same field name on parent/child/grandchild/etc., so I agree, we will need something in the query syntax to disambiguate which is which for such cases. Though I would think this would be the exception not the rule (ie, I'd expect apps to name the fields "uniquely" across parent and child docs). Maybe there can be field aliases? Eg, book_page_count:[0 to 1000] and chapter_page_count[10:40], and the QP is told to map book_page_count -> parent:size and chapter_page_count -> child:size? Or maybe we let the user explicitly scope the field, eg chapter:size, book:size, book:title, etc. Not sure... > Solr should support block joins > ------------------------------- > > Key: SOLR-3076 > URL: https://issues.apache.org/jira/browse/SOLR-3076 > Project: Solr > Issue Type: New Feature > Reporter: Grant Ingersoll > Attachments: SOLR-3076.patch, bjq-vs-filters-backward-disi.patch, bjq-vs-filters-illegal-state.patch, parent-bjq-qparser.patch, parent-bjq-qparser.patch, solrconf-bjq-erschema-snippet.xml > > > Lucene has the ability to do block joins, we should add it to Solr. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org