[ 
https://issues.apache.org/jira/browse/SOLR-142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12492410
 ] 

Hoss Man commented on SOLR-142:
-------------------------------

I still haven't looked at Ryan's latest patch on this issue (from Feb!) but if 
the only issue is that /admin/get-file.jsp has been deleted so links on the 
admin screen won't work because they assume the new handler, then maybe the 
best way to solve this is:

1) change the admin.jsp screen not to include links to either get-file.jsp or 
the new GetFile handler by default (a good idea since people might want to 
change the name of the handler) but if a gettableFiles section exists in the 
solrconfig, continue to link to get-files.jsp
2) document in the CHANGES recommending that people use the new GetFile handler 
and add links to it in an admin-extras.html file (since only they know which 
handler name they used)
3) makr get-files.jsp as heavily deprecated (so we can eventually get rid of 
it) and make it delegate to an anonymous on the fly created instance of the 
GetFile handler.


> RawResponseWriter - replace /admin/get-file.jsp
> -----------------------------------------------
>
>                 Key: SOLR-142
>                 URL: https://issues.apache.org/jira/browse/SOLR-142
>             Project: Solr
>          Issue Type: Improvement
>          Components: web gui
>            Reporter: Ryan McKinley
>            Priority: Trivial
>         Attachments: SOLR-142-RawResponseWriter.patch, 
> SOLR-142-RawResponseWriter.patch, SOLR-142-RawResponseWriter.patch, 
> SOLR-142-RawResponseWriter.patch, SOLR-142-RawResponseWriter.patch
>
>
> A RawResponseWriter writes a ContentStream directly to the response.
> This is useful to spit back a file directly from solr.  This implementation 
> looks for a response property named "content" and sends it to the client.  If 
> it can't find one, it delegates the response to another ResponseWriter.
> As an example, I added a GetAdminFileRequestHandler to replace 
> /admin/get-file.jsp

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to