You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Dmitry Tikhonov (JIRA)" <ji...@apache.org> on 2018/03/20 11:32:00 UTC
[jira] [Created] (SOLR-12126) EmbeddedSolrServer don't pass
solrconfig to SolrRequestParsers
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org