You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alan Woodward (JIRA)" <ji...@apache.org> on 2015/11/19 17:16:11 UTC

[jira] [Commented] (SOLR-8315) Remove default core checks in the dispatch filter

    [ https://issues.apache.org/jira/browse/SOLR-8315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15013769#comment-15013769 ] 

Alan Woodward commented on SOLR-8315:
-------------------------------------

There's no default core any more, so that can be nuked.

> Remove default core checks in the dispatch filter
> -------------------------------------------------
>
>                 Key: SOLR-8315
>                 URL: https://issues.apache.org/jira/browse/SOLR-8315
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Varun Thacker
>            Priority: Minor
>
> There are two occurrences in {{HttpSolrCall}} that still make checks for a default core.
> {code}
> // try the default core
> if (core == null) {
>     core = cores.getCore("");
> }
> {code}
> Is that needed anymore? I removed them and the tests seems to pass . 



--
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