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 2169F9B5C for ; Fri, 11 Nov 2011 01:10:19 +0000 (UTC) Received: (qmail 7487 invoked by uid 500); 11 Nov 2011 01:10:17 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 7432 invoked by uid 500); 11 Nov 2011 01:10:17 -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 7425 invoked by uid 99); 11 Nov 2011 01:10:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Nov 2011 01:10:17 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,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; Fri, 11 Nov 2011 01:10:15 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id F31944C0CC for ; Fri, 11 Nov 2011 01:09:53 +0000 (UTC) Date: Fri, 11 Nov 2011 01:09:53 +0000 (UTC) From: "Michael McCandless (Resolved) (JIRA)" To: dev@lucene.apache.org Message-ID: <722995834.19667.1320973793997.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1139914162.50328.1316609109617.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (LUCENE-3443) Port 3.x FieldCache.getDocsWithField() to trunk 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-3443?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless resolved LUCENE-3443. ---------------------------------------- Resolution: Fixed > Port 3.x FieldCache.getDocsWithField() to trunk > ----------------------------------------------- > > Key: LUCENE-3443 > URL: https://issues.apache.org/jira/browse/LUCENE-3443 > Project: Lucene - Java > Issue Type: Improvement > Components: core/search > Reporter: Michael McCandless > Assignee: Michael McCandless > Fix For: 3.5, 4.0 > > Attachments: LUCENE-3443.patch, LUCENE-3443.patch, LUCENE-3443.patch > > > [Spinoff from LUCENE-3390] > I think the approach in 3.x for handling un-valued docs, and making it > possible to specify how such docs are sorted, is better than the > solution we have in trunk. > I like that FC has a dedicated method to get the Bits for docs with field > -- easy for apps to directly use. And I like that the > bits have their own entry in the FC. > One downside is that it's 2 passes to get values and valid bits, but > I think we can fix this by passing optional bool to FC.getXXX methods > indicating you want the bits, and the populate the FC entry for the > missing bits as well. (We can do that for 3.x and trunk). Then it's > single pass. -- 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