lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <>
Subject [jira] [Commented] (SOLR-2471) Localparams not working with 2 fq parameters using qt=name
Date Mon, 25 Apr 2011 19:59:04 GMT


Yonik Seeley commented on SOLR-2471:

bq. In one qt I have a long list of qf fields

I'm still at a loss to understand what you're trying to do with "qt".

bq. I know in the standard handler I can do specialty:dentist AND name:bill. But since they
are user  inputed I want to do 2 subqueries. 

Ahhh, so does this all boil down to "how do you AND two dismax queries" (e.g. dismaxquery1
AND dismaxquery2)?

> Localparams not working with 2 fq parameters using qt=name
> ----------------------------------------------------------
>                 Key: SOLR-2471
>                 URL:
>             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
> 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
> 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:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message