Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 92D1310356 for ; Wed, 4 Feb 2015 07:39:32 +0000 (UTC) Received: (qmail 90333 invoked by uid 500); 4 Feb 2015 07:39:28 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 90267 invoked by uid 500); 4 Feb 2015 07:39:28 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 90256 invoked by uid 99); 4 Feb 2015 07:39:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Feb 2015 07:39:28 +0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of hialooha@gmail.com does not designate 162.253.133.43 as permitted sender) Received: from [162.253.133.43] (HELO mwork.nabble.com) (162.253.133.43) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Feb 2015 07:39:02 +0000 Received: from mben.nabble.com (unknown [162.253.133.72]) by mwork.nabble.com (Postfix) with ESMTP id 7AFDB12C2A75 for ; Tue, 3 Feb 2015 23:38:32 -0800 (PST) Date: Wed, 4 Feb 2015 00:38:30 -0700 (MST) From: Jason To: solr-user@lucene.apache.org Message-ID: <1423035510891-4183794.post@n3.nabble.com> Subject: Is there any way to restrict search by maximum document count? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, When I use MultiTermQuery like prefix, wildcard, Solr throws an exception if exceeded maxBooleanClauses value in solrconfig.xml. If I increase maxBooleanClauses, problem is solved. But it can cause memory issuses. So I want to know if there is any way to restrict search by maximum hitting document count. Thanks -- View this message in context: http://lucene.472066.n3.nabble.com/Is-there-any-way-to-restrict-search-by-maximum-document-count-tp4183794.html Sent from the Solr - User mailing list archive at Nabble.com.