Dmitry Tikhonov created SOLR-12126:
--------------------------------------
Summary: EmbeddedSolrServer don't pass solrconfig to
SolrRequestParsers
Key: SOLR-12126
URL: https://issues.apache.org/jira/browse/SOLR-12126
Project: Solr
Issue Type: Improvement
Security Level: Public (Default Security Level. Issues are Public)
Components: Server
Affects Versions: 7.2
Reporter: Dmitry Tikhonov
Fix For: 7.3
As you can see, now there is null in SolrRequestParsers constructor in
EmbeddedSolrServer. This solution not allow to use some settings in solrconfig
- stream.body for example
{code:java}
public EmbeddedSolrServer(CoreContainer coreContainer, String coreName) {
if (coreContainer == null) {
throw new NullPointerException("CoreContainer instance required");
}
if (Strings.isNullOrEmpty(coreName))
throw new SolrException(SolrException.ErrorCode.SERVER_ERROR, "Core name
cannot be empty");
this.coreContainer = coreContainer;
this.coreName = coreName;
_parser = new SolrRequestParsers(null);
}{code}
Here is a pull request - https://github.com/apache/lucene-solr/pull/339
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]