You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Bill Bell (JIRA)" <ji...@apache.org> on 2015/07/28 23:50:04 UTC

[jira] [Created] (SOLR-7846) QTs with $variable does not work with query parameter substitution

Bill Bell created SOLR-7846:
-------------------------------

             Summary: QTs with $variable does not work with query parameter substitution
                 Key: SOLR-7846
                 URL: https://issues.apache.org/jira/browse/SOLR-7846
             Project: Solr
          Issue Type: Bug
            Reporter: Bill Bell


http://yonik.com/solr-query-parameter-substitution/

This is not working as part of QTs in solrconfig.xml due to XML System Property Substitution getting confused in SOLR 5.2.1.

Cannot load the core, since ${value} is being used for XML parameters for system property substitution.

https://wiki.apache.org/solr/SolrConfigXml#System_property_substitution

Can we support both?

<str name="pspec">PS127</str>
<str name="hqval1">hosp_quality_spec_boost:${pspec}</str>

This does not work since it thinks it is a System Property.

We can check System Property and if not defined assume it is in Query, or have a new parameter? 

${variable} - for System Properties
${{variable}} - for Query Parameters?

Thoughts?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org