On Sat, Oct 11, 2014 at 12:22 AM, William Bell <billnb...@gmail.com> 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=payload:${yy} or q=price:[ ${low} TO ${high} ] http://heliosearch.org/solr-query-parameter-substitution/ -Yonik http://heliosearch.org - native code faceting, facet functions, sub-facets, off-heap data