Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 84556 invoked from network); 11 Mar 2009 12:10:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Mar 2009 12:10:19 -0000 Received: (qmail 66915 invoked by uid 500); 11 Mar 2009 12:10:13 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 66863 invoked by uid 500); 11 Mar 2009 12:10:13 -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 66846 invoked by uid 99); 11 Mar 2009 12:10:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Mar 2009 05:10:13 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Mar 2009 12:10:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 70F30234C003 for ; Wed, 11 Mar 2009 05:09:50 -0700 (PDT) Message-ID: <2036251975.1236773390448.JavaMail.jira@brutus> Date: Wed, 11 Mar 2009 05:09:50 -0700 (PDT) From: "Mark Miller (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Commented: (LUCENE-998) BooleanQuery.setMaxClauseCount(int) is static In-Reply-To: <8306767.1189762112444.JavaMail.jira@brutus> 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-998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12680854#action_12680854 ] Mark Miller commented on LUCENE-998: ------------------------------------ I think it was understood - it made field cache loading slow because we attempted to enumerate every unique term for all segments from every individual segment. Because term/seg drops log, it was incredibly wasteful. You could try 5,000 terms against each of 5 segments when segments 2-5 may have had 3 terms a piece in them. So I don't think it will be an issue here - we should get a bit better performance with LUCENE-1483 though, because each multi-term query will rewrite against each segment - so you won't have huge boolean queries hitting small segments like before - each multi-term query will 'fit' each segment, rather than one query hits all. > BooleanQuery.setMaxClauseCount(int) is static > --------------------------------------------- > > Key: LUCENE-998 > URL: https://issues.apache.org/jira/browse/LUCENE-998 > Project: Lucene - Java > Issue Type: Bug > Components: Search > Affects Versions: 2.1 > Reporter: Tim Lebedkov > Attachments: lucene-998.patch > > > BooleanQuery.setMaxClauseCount(int) is static. It does not allow searching in multiple indices from different threads using different settings. This setting should be probably moved in to the IndexSearcher. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org