Return-Path: X-Original-To: apmail-lucene-java-user-archive@www.apache.org Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7E6189957 for ; Wed, 5 Oct 2011 11:05:06 +0000 (UTC) Received: (qmail 4010 invoked by uid 500); 5 Oct 2011 11:05:04 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 3938 invoked by uid 500); 5 Oct 2011 11:05: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 3930 invoked by uid 99); 5 Oct 2011 11:05:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Oct 2011 11:05:04 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [98.139.91.238] (HELO nm30-vm0.bullet.mail.sp2.yahoo.com) (98.139.91.238) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 05 Oct 2011 11:04:57 +0000 Received: from [98.139.91.62] by nm30.bullet.mail.sp2.yahoo.com with NNFMP; 05 Oct 2011 11:04:36 -0000 Received: from [208.71.42.197] by tm2.bullet.mail.sp2.yahoo.com with NNFMP; 05 Oct 2011 11:03:36 -0000 Received: from [127.0.0.1] by smtp208.mail.gq1.yahoo.com with NNFMP; 05 Oct 2011 11:03:36 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.de; s=s1024; t=1317812616; bh=OsV8rWlbZzFhTDsrV12/itQo31bh/rtmwyaAzPSDgSk=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=cYWi8Mnxy1TCG6Ffy55kW4aU3e/Rdx+ALeIXXiRkNt+m5FAm80eq7KcHh1+gR3oKElLLzsywIBZ5VsHlgUTYcvfuF/SnPNAVtxjY0rvnSt82JcVbdFmF0rpOMKo1E1DozHW+GI9/tdAk/Af1V//oOIMA6UrI5N+1R/jhy+8lae8= X-Yahoo-Newman-Id: 119273.7293.bm@smtp208.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: fexWhRAVM1nrBqo0H0s3I0YfKRRJ6GtjfB.aXb5ZigdGS2_ 1TYArQciVXItF2r87_VyYPmEBLZfSAx9I4hsEtXgnzbcs0xm0uzySJviwSon tfG3oN3PYQcYBQNpP4.3bTck4RB9TDKy1xAqtI26JxuOGOHSYo0e7sBUwc7A a7uBNKmr36umoXKWdtFp6XQSiH801TG7WkiOMc.LELwemcFglsjng8DShpgr B6G8dyTY0zKQfe6Aa2LQ1yRK1HMZTqPveWoNMiOwA80Hn4jCNspWnDRLJJoE jGlZyG8HShySPiQkze36Fr4HehxFEZPgsWIID_IjMsheudAOjWtVsPklrvIh AtfZwHqOQAOXnR3zL25zwLLSOkZSafw.PySBYWQBHXeLjlGWuNM_0 X-Yahoo-SMTP: PsU70jWswBCjvY7DVEwAV7Ld71kq2utxAu93BRGFPho- Received: from [192.168.0.2] (mailformailinglists@84.149.239.30 with plain) by smtp208.mail.gq1.yahoo.com with SMTP; 05 Oct 2011 04:03:35 -0700 PDT Message-ID: <4E8C397C.1000106@yahoo.de> Date: Wed, 05 Oct 2011 13:03:24 +0200 From: Em User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: java-user@lucene.apache.org Subject: Re: How is Number of Boolean Clauses calculated - Minimum Should Match? References: <4E8C0A81.6090107@yahoo.de> <001701cc8342$9de19a70$d9a4cf50$@thetaphi.de> <4E8C2FEA.80300@yahoo.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi Ian, thanks for the fast feedback. >> If the MM was set to 4 (too many), than this means all queries have to >> match? > > Presumably this query would fail, since you've only got three clauses. > Easy to verify. Seems like different behaviour compared to Solr. Probably Solr is intelligent enough to reduce the parameter to the maximum value if it is too large. I'll wait a little bit, before reposting my question on the Solr list. Regards, Em Am 05.10.2011 12:51, schrieb Ian Lea: > Sorry - you did say StopFilter or SynonymFilter but I started talking > about oal.search.Filter instead. > >> So if an Analyzer contains a StopFilter and the parser uses this >> Analyzer, than the following will happen: >> >> Original: >> "To be or not to be said Shakespeare" >> >> Stopwords: To, be, or >> >> Resulting BooleanClauses: >> - not >> - said >> - Shakespeare >> >> Is this right? > > Yes. > >> If the MM was set to 4 (too many), than this means all queries have to >> match? > > Presumably this query would fail, since you've only got three clauses. > Easy to verify. > >> If so, what is the problem in Solr with Stopwords and the Dismax-Parser? > > That sounds like a different question, maybe one for the solr list. > > > -- > Ian. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-user-help@lucene.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org