Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 62525 invoked from network); 18 May 2005 18:41:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 May 2005 18:41:55 -0000 Received: (qmail 61402 invoked by uid 500); 18 May 2005 17:59:53 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 61387 invoked by uid 500); 18 May 2005 17:59:52 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 61357 invoked by uid 500); 18 May 2005 17:59:52 -0000 Delivered-To: apmail-jakarta-lucene-dev@jakarta.apache.org Received: (qmail 61334 invoked by uid 99); 18 May 2005 17:59:51 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 18 May 2005 10:59:38 -0700 Received: by ajax.apache.org (Postfix, from userid 99) id 6605F30A; Wed, 18 May 2005 19:59:12 +0200 (CEST) From: bugzilla@apache.org To: lucene-dev@jakarta.apache.org Subject: DO NOT REPLY [Bug 34946] - NullQuery to return all documents X-Bugzilla-Reason: AssignedTo Message-Id: <20050518175912.6605F30A@ajax.apache.org> Date: Wed, 18 May 2005 19:59:12 +0200 (CEST) X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=34946 ------- Additional Comments From paul.elschot@xs4all.nl 2005-05-18 19:59 ------- A query returning all docs can indeed be useful on occasion, it was the subject of some recent messages on the java-user list. Some remarks: - MatchAllDocsQuery might be a better name, NullQuery could also to suggest not matching any docs at all (which can also be useful on occasion btw.) - The scorer uses an int[] for all the non deleted docs which can be a rather high burden on memory and initialisation. This could be avoided by using the information on deleted docs from the reader directly in the scorer. - The score value is a constant, and queries with this property are currently under discussion on java-dev. This might become a special case of the filters discussed there. Regards, Paul Elschot -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org