[
https://issues.apache.org/jira/browse/SOLR-5448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13824343#comment-13824343
]
ASF subversion and git services commented on SOLR-5448:
-------------------------------------------------------
Commit 1542451 from [~erickoerickson] in branch 'dev/branches/branch_4x'
[ https://svn.apache.org/r1542451 ]
SOLR-5448: ShowFileRequestHandler treats everything as Directory, when in
Cloud-Mode
> 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)
> Assignee: Erick Erickson
> Fix For: 5.0, 4.7
>
> Attachments: SOLR-5448.patch
>
>
> 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]