Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2DFC39B36 for ; Wed, 14 Mar 2012 05:38:13 +0000 (UTC) Received: (qmail 58804 invoked by uid 500); 14 Mar 2012 05:38:11 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 58424 invoked by uid 500); 14 Mar 2012 05:38:08 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 58375 invoked by uid 99); 14 Mar 2012 05:38:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Mar 2012 05:38:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Mar 2012 05:38:04 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 81A991FC08 for ; Wed, 14 Mar 2012 05:37:44 +0000 (UTC) Date: Wed, 14 Mar 2012 05:37:44 +0000 (UTC) From: "Bill Bell (Commented) (JIRA)" To: dev@lucene.apache.org Message-ID: <841139902.11531.1331703464547.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1739815840.2706.1328105699048.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (SOLR-3085) Fix the dismax/edismax stopwords mm issue MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SOLR-3085?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D13228= 990#comment-13228990 ]=20 Bill Bell commented on SOLR-3085: --------------------------------- We also found another loophole. If we send [* TO *] to edismax we also can = bring down the server. Some chars are not being escaped before being sent to SOLR. Eg I can send = queries like this to SOLR by searching on ([* TO *] OR [* TO *] OR [* TO *]= ) in the search box - it took 72 seconds to return: =20 webapp=3D/solr path=3D/select params=3D{d=3D160.9344&start=3D0&q=3D([*+TO+*= ]+OR+[*+TO+*]+OR+[*+TO+*])&pt=3D40.7146,-74.0071&qt=3Dprovidersearchdist&wt= =3Djson&qq=3Dcity_state_lower:"new+york,+ny"&rows=3D20} hits=3D276442 statu= s=3D0 QTime=3D72458 =20 > Fix the dismax/edismax stopwords mm issue > ----------------------------------------- > > Key: SOLR-3085 > URL: https://issues.apache.org/jira/browse/SOLR-3085 > Project: Solr > Issue Type: Bug > Components: search > Reporter: Jan H=C3=B8ydahl > Labels: MinimumShouldMatch, dismax, stopwords > Fix For: 3.6, 4.0 > > > As discussed here http://search-lucene.com/m/Wr7iz1a95jx and here http://= search-lucene.com/m/Yne042qEyCq1 and here http://search-lucene.com/m/RfAp82= nSsla DisMax has an issue with stopwords if not all fields used in QF have = exactly same stopword lists. > Typical solution is to not use stopwords or harmonize stopword lists acro= ss all fields in your QF, or relax the MM to a lower percentag. Sometimes t= hese are not acceptable workarounds, and we should find a better solution. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org