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 57392410F for ; Mon, 23 May 2011 16:24:33 +0000 (UTC) Received: (qmail 18061 invoked by uid 500); 23 May 2011 16:24:32 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 17977 invoked by uid 500); 23 May 2011 16:24:32 -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 17969 invoked by uid 99); 23 May 2011 16:24:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 May 2011 16:24:32 +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; Mon, 23 May 2011 16:24:29 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6BCF4D9903 for ; Mon, 23 May 2011 16:23:48 +0000 (UTC) Date: Mon, 23 May 2011 16:23:48 +0000 (UTC) From: "Michael McCandless (JIRA)" To: dev@lucene.apache.org Message-ID: <389292788.36343.1306167828438.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (LUCENE-2454) Nested Document query support 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/LUCENE-2454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless updated LUCENE-2454: --------------------------------------- Attachment: LUCENE-2454.patch Attached patch, pulling out just NestedDocumentQuery from the zip file: * I put NestedDocumentQuery and its test case in contrib/queries, under oal.search.nested * Changed scoreMode to final int that's passed to ctor * Brought everything up to current trunk (scoring is per-segment, etc.).this also moves parentBits (previously mutable on the original query) into the scorer * Simplified the test case -- instead of parsing XHTML resumes it just directly builds up a toy example of parent+child docs. * Removed @author tags, fixed code style (indent to 2 spaces, {}s, newlines, etc.), etc. I put a few nocommits in that still need resolving... My patch doesn't include XMLQueryParser integration; I think we should do this as separate issue? I think PerParentLimitedQuery is the same functionality as grouping, right? Except, it only supports relevance withinGroup sort, but it operates only w/ a parent filter (whereas our grouping impls so far require a more-RAM-costly DocTermsIndex FC entry of the field you are grouping on). I think we should somehow merge this w/ the single pass grouping collector (LUCENE-3129)? > Nested Document query support > ----------------------------- > > Key: LUCENE-2454 > URL: https://issues.apache.org/jira/browse/LUCENE-2454 > Project: Lucene - Java > Issue Type: New Feature > Components: core/search > Affects Versions: 3.0.2 > Reporter: Mark Harwood > Assignee: Mark Harwood > Priority: Minor > Attachments: LUCENE-2454.patch, LuceneNestedDocumentSupport.zip > > > A facility for querying nested documents in a Lucene index as outlined in http://www.slideshare.net/MarkHarwood/proposal-for-nested-document-support-in-lucene -- This message is automatically generated by JIRA. 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