Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 51536 invoked from network); 15 Feb 2009 15:59:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Feb 2009 15:59:09 -0000 Received: (qmail 56663 invoked by uid 500); 15 Feb 2009 15:59:04 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 56627 invoked by uid 500); 15 Feb 2009 15:59:04 -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 56616 invoked by uid 99); 15 Feb 2009 15:59:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Feb 2009 07:59:03 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [79.170.194.127] (HELO mail.roo10.com) (79.170.194.127) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Feb 2009 15:58:54 +0000 Received: from [192.168.60.45] (78-105-13-3.dsl.cnl.uk.net [78.105.13.3]) by mail.roo10.com (Postfix) with ESMTP id A227B4612A44 for ; Sun, 15 Feb 2009 15:58:14 +0000 (GMT) Subject: Term precendence From: Joel Halbert To: Lucene Users Content-Type: text/plain Organization: SU3 Analytics Date: Sun, 15 Feb 2009 15:50:00 +0000 Message-Id: <1234713000.11015.19.camel@bohr> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org When constructing a query, using a series of terms e.g. Term1=X, Term2=Y etc... does it make sense, like in sql, to place to most restrictive term query first? i.e. if I know that the query will be mainly constrained by the value of Term1, does having this as the first in the query make the execution of the query any faster than if it were the second term? Rgs, Joel --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org