Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@
public class EmbeddedSolrServer extends SolrClient {

protected final CoreContainer coreContainer;
protected final String coreName;
private final SolrRequestParsers _parser;
private final RequestWriterSupplier supplier;
private boolean containerIsLocal = false;
Expand Down Expand Up @@ -145,7 +144,7 @@ public EmbeddedSolrServer(
throw new NullPointerException("CoreContainer instance required");
}
this.coreContainer = coreContainer;
this.coreName = coreName;
this.defaultCollection = coreName;
_parser = new SolrRequestParsers(null);
this.supplier = supplier;
}
Expand Down Expand Up @@ -182,7 +181,7 @@ public NamedList<Object> request(SolrRequest<?> request, String coreName)
}

if (coreName == null) {
coreName = this.coreName;
coreName = this.defaultCollection;
if (coreName == null) {
throw new SolrException(
SolrException.ErrorCode.BAD_REQUEST,
Expand Down
Loading