You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Varun Thacker (JIRA)" <ji...@apache.org> on 2015/11/20 04:15:11 UTC

[jira] [Updated] (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:all-tabpanel ]

Varun Thacker updated SOLR-8315:
--------------------------------
    Attachment: SOLR-8315.patch

Simple patch which removes the two checks for default core. I'll commit this soon

> 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
>         Attachments: SOLR-8315.patch
>
>
> 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