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 028192553 for ; Fri, 29 Apr 2011 12:34:50 +0000 (UTC) Received: (qmail 53281 invoked by uid 500); 29 Apr 2011 12:34:48 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 53207 invoked by uid 500); 29 Apr 2011 12:34:48 -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 53200 invoked by uid 99); 29 Apr 2011 12:34:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Apr 2011 12:34:48 +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; Fri, 29 Apr 2011 12:34:46 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B280BB9B60 for ; Fri, 29 Apr 2011 12:34:07 +0000 (UTC) Date: Fri, 29 Apr 2011 12:34:07 +0000 (UTC) From: "Yonik Seeley (JIRA)" To: dev@lucene.apache.org Message-ID: <1236053102.11499.1304080447727.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1404044744.69067.1303271105969.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (SOLR-2471) Localparams not working with 2 fq parameters using qt=name 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/SOLR-2471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13026951#comment-13026951 ] Yonik Seeley commented on SOLR-2471: ------------------------------------ bq. Is it possible to have two QT parameters in the same call to Solr? Nope, see the response from Hoss: "qt selects the request handler used, but when local params are parsed the handler is has already been choosen (there is only one handler per request)" > Localparams not working with 2 fq parameters using qt=name > ---------------------------------------------------------- > > Key: SOLR-2471 > URL: https://issues.apache.org/jira/browse/SOLR-2471 > Project: Solr > Issue Type: Bug > Reporter: Bill Bell > > We are having a problem with the following query. If we have two localparams (using fq) and use QT= it does not work. > This does not find any results: > http://localhost:8983/solr/provs/select?qname=john&qspec=dent&fq={!type=dismax qt=namespec v=$qspec}&fq={!type=dismax qt=dismaxname v=$qname}&q=_val_:"{!type=dismax qt=namespec v=$qspec}" _val_:"{!type=dismax qt=dismaxname v=$qname}"&fl=specialties_desc,score,hgid,specialties_search,specialties_ngram,first_middle_last_name&wt=csv&facet=true&facet.field=specialties_desc&sort=score desc&rows=1000&start=0 > This works okay. It returns a few results. > http://localhost:8983/solr/provs/select?qname=john&qspec=dent&fq={!type=dismax qf=$qqf v=$qspec}&fq={!type=dismax qt=dismaxname v=$qname}&q=_val_:"{!type=dismax qf=$qqf v=$qspec}" _val_:"{!type=dismax qt=dismaxname v=$qname}" &qqf=specialties_ngram^1.0 specialties_search^2.0&fl=specialties_desc,score,hgid,specialties_search,specialties_ngram,first_middle_last_name&wt=csv&facet=true&facet.field=specialties_desc&sort=score desc&rows=1000&start=0 > We would like to use a QT for both terms but it seems there is some kind of bug when using two localparams and dismax filters with QT. -- This message is automatically generated by JIRA. 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