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: [email protected]
For additional commands, e-mail: [email protected]