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

[jira] [Created] (SOLR-5448) ShowFileRequestHandler treats everything as Directory, when in Cloud-Mode

Stefan Matheis (steffkes) created SOLR-5448:
-----------------------------------------------

             Summary: ShowFileRequestHandler treats everything as Directory, when in Cloud-Mode
                 Key: SOLR-5448
                 URL: https://issues.apache.org/jira/browse/SOLR-5448
             Project: Solr
          Issue Type: Bug
          Components: SolrCloud
    Affects Versions: 4.5
            Reporter: Stefan Matheis (steffkes)


While working on SOLR-5446, i've discovered that the {{ShowFileRequestHandler}} changes its output.

{code}  % curl -s 'http://arch.vm:8984/solr/collection1/admin/file?wt=json' | json
{
    "files": {
        "admin-extra.html": {
            "modified": "2013-08-25T01:44:06Z",
            "size": 1068
        },
        "clustering": {
            "directory": true,
            "modified": "2013-08-25T01:44:05Z"
        },
        "currency.xml": {
            "modified": "2013-08-25T01:44:06Z",
            "size": 3974
        }
    }
}{code}

While, when running in Cloud-Mode:

{code}  % curl -s 'http://arch.vm:8984/solr/collection1/admin/file?wt=json' | json
{
    "files": {
        "admin-extra.html": {
            "directory": true
        },
        "clustering": {
            "directory": true
        },
        "currency.xml": {
            "directory": true
        }
    }
}{code}

That's valid for trunk as well as branch_4x.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org