[
https://issues.apache.org/jira/browse/SOLR-5448?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Erick Erickson updated SOLR-5448:
---------------------------------
Attachment: SOLR-5448.patch
Quick patch, one line fix and 30 lines to test. Siiiiggghhh.
I'm going out now and won't have time to commit this until this evening or
tomorrow morning.
This has been in there since day 1, [~steffkes] is just the first lucky one to
find it.
> 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
> 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]