agh... It's my pet peeve.
what about
q= {!parent which="isParent:true" v='attrname:genre AND attrvalue:drama'}
AND {!parent which="isParent:true" v='attrname:country AND attrvalue:USA'}

^leading space
q=_query_:{!parent which="isParent:true" v='attrname:genre AND
attrvalue:drama'} AND _query_:{!parent which="isParent:true"
v='attrname:country
AND attrvalue:USA'}
q=+{!parent which="isParent:true" v='attrname:genre AND
attrvalue:drama'} +{!parent
which="isParent:true" v='attrname:country AND attrvalue:USA'}
Beware of escape encoding. it might require to replace + to %2b.
Post debug=query response here.

On Tue, Jul 3, 2018 at 9:25 PM TK Solr <tksol...@sonic.net> wrote:

> Thank you, Mikhail. But this didn't work. The first {!parent which='...'
> v='...'} alone works. But the second {!parent ...} clause is completely
> ignored.
> In fact, if I turn on debugQuery, rawquerystring and querystring have the
> second
> query but parsedquery and parsedquery_toString only have the first query.
> BTW,
> does is the v parameter works in place of the query following {!parsername
> } for
> any parser?
>
>
> On 7/3/18 12:42 PM, Mikhail Khludnev wrote:
> > q={!parent which="isParent:true" v='attrname:genre AND attrvalue:drama'}
> AND
> >
> > {!parent which="isParent:true" v='attrname:country AND attrvalue:USA'}
>
>

-- 
Sincerely yours
Mikhail Khludnev

Reply via email to