You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Yonik Seeley (JIRA)" <ji...@apache.org> on 2011/04/20 21:11:06 UTC

[jira] [Resolved] (SOLR-2471) Localparams not working with 2 fq parameters using qt=name

     [ https://issues.apache.org/jira/browse/SOLR-2471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yonik Seeley resolved SOLR-2471.
--------------------------------

    Resolution: Invalid

Let's avoid asking questions in JIRA and take it to the mailing list in the future.

> 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