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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to