lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <>
Subject Re: Payload with Local Params?
Date Sat, 11 Oct 2014 15:21:09 GMT
On Sat, Oct 11, 2014 at 12:22 AM, William Bell <> wrote:
> I want to call:
> http://localhost:8983/solr/collection1/query?defType=myqp&yy=electronics&q=payloads:$yy
> How do I pass $yy to the parser and have it use "electronics" instead
> of the literal $yy?

Solr only does parameter substitution for local param values... so for
a term query above of payload:$yy
you want q={!term f=payload v=$yy}

Heliosearch can do full request substitution, so you can do things like
q=price:[ ${low} TO ${high} ]

-Yonik - native code faceting, facet functions,
sub-facets, off-heap data

View raw message